Class: NilClass

Inherits:
Object show all
Defined in:
lib/mongo_mapper/extensions.rb

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



95
96
97
# File 'lib/mongo_mapper/extensions.rb', line 95

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



91
92
93
# File 'lib/mongo_mapper/extensions.rb', line 91

def to_mongo(value)
  value
end