Libraries
»
tpitale-mongo_mapper
(0.6.10)
»
Index (F)
»
Float
Class: Float
Inherits:
Object
Object
Float
show all
Defined in:
lib/mongo_mapper/support.rb
Class Method Summary
collapse
.
to_mongo
(value) ⇒ Object
Class Method Details
.
to_mongo
(value) ⇒
Object
56 57 58
# File 'lib/mongo_mapper/support.rb', line 56
def
self
.
to_mongo
(
value
)
value
.
to_f
end