Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



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

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



87
88
89
# File 'lib/mongo_mapper/support.rb', line 87

def to_mongo(value)
  value
end