Sha256: c4c1410d7d14de9692aa78c4ff10cf9706a1d5c508de077b2ee7ea7e7285225e

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

require 'data_mapper/persistence'

begin
  require 'ferret'
rescue LoadError
end

module DataMapper

  class Base
    include DataMapper::Persistence
    
    def self.inherited(klass)
      DataMapper::Persistence::prepare_for_persistence(klass)
    end

    def self.subclasses
      []
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datamapper-0.2.5 lib/data_mapper/base.rb