Sha256: 7f6b85e99cba7db163e88be7d974c188a97d209727ef7d2ce04099afa50ca451

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

$:.unshift File.dirname(__FILE__)

module Sencha
  module Model
    require 'sencha-model/model'

    # Detect orm, include appropriate mixin.
    if defined?(ActiveRecord)
      require 'sencha-model/adapters/active_record'
    elsif defined?(DataMapper)
      require 'sencha-model/adapters/data_mapper'
    elsif defined?(MongoMapper)
      require 'sencha-model/adapters/mongo_mapper'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sencha-model-0.6.2 lib/sencha-model.rb
sencha-model-0.6.1 lib/sencha-model.rb
sencha-model-0.6.0 lib/sencha-model.rb
sencha-model-0.5.0 lib/sencha-model.rb