Module: Mongoid::Extensions::Float::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/extensions/float.rb |
Instance Method Summary
-
#demongoize(object)
Alias for #mongoize.
-
#mongoize(object) ⇒ Float | nil
(also: #demongoize)
Turn the object from the ruby type we deal with to a Mongo friendly type.
Instance Method Details
#demongoize(object)
Alias for #mongoize.
# File 'lib/mongoid/extensions/float.rb', line 51
alias :demongoize :mongoize
#mongoize(object) ⇒ Float | nil
Also known as: #demongoize
Turn the object from the ruby type we deal with to a Mongo friendly type.