Module: MongoMapper::Extensions::Object

Extended by:
ActiveSupport::Concern
Included in:
Object
Defined in:
lib/mongo_mapper/extensions/object.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_mongo



17
18
19
# File 'lib/mongo_mapper/extensions/object.rb', line 17

def to_mongo
  self.class.to_mongo(self)
end