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

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



10
11
12
# File 'lib/mongo_mapper/extensions/object.rb', line 10

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



6
7
8
# File 'lib/mongo_mapper/extensions/object.rb', line 6

def to_mongo(value)
  value
end