Module: OrmAdapter::ToAdapter

Included in:
DataMapper::Model, MongoMapper::Document::ClassMethods, Mongoid::Document::ClassMethods
Defined in:
lib/orm_adapter/to_adapter.rb

Overview

Extend into a class that has an OrmAdapter

Instance Method Summary collapse

Instance Method Details

#to_adapterObject



4
5
6
# File 'lib/orm_adapter/to_adapter.rb', line 4

def to_adapter
  @_to_adapter ||= self::OrmAdapter.new(self)
end