Module: MongoMapper::Extensions::Object::InstanceMethods

Included in:
Object
Defined in:
lib/mongo_mapper/extensions/object.rb

Instance Method Summary collapse

Instance Method Details

#to_mongoObject



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

def to_mongo
  self.class.to_mongo(self)
end