Module: Mongoid::Extensions::Integer::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/extensions/integer.rb |
Instance Method Summary
-
#demongoize(object)
Alias for #mongoize.
-
#mongoize(object) ⇒ Integer | 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/integer.rb', line 61
alias :demongoize :mongoize
#mongoize(object) ⇒ Integer | nil
Also known as: #demongoize
Turn the object from the ruby type we deal with to a Mongo friendly type.