Module: MongoMapper::Extensions::Object::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



12
13
14
# File 'lib/mongo_mapper/extensions/object.rb', line 12

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



8
9
10
# File 'lib/mongo_mapper/extensions/object.rb', line 8

def to_mongo(value)
  value
end