Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



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

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



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

def to_mongo(value)
  value
end