Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#from_mongo(value) ⇒ Object



89
90
91
# File 'lib/mongo_mapper/support.rb', line 89

def from_mongo(value)
  value
end

#to_mongo(value) ⇒ Object



85
86
87
# File 'lib/mongo_mapper/support.rb', line 85

def to_mongo(value)
  value
end