Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



96
97
98
# File 'lib/mongo_mapper/support.rb', line 96

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



92
93
94
# File 'lib/mongo_mapper/support.rb', line 92

def to_mongo(value)
  value
end