Module: Mongoid::Extensions::Boolean::ClassMethods
- Defined in:
- lib/mongoid/extensions/boolean.rb
Instance Method Summary collapse
-
#mongoize(object) ⇒ String
Turn the object from the ruby type we deal with to a Mongo friendly type.
Instance Method Details
#mongoize(object) ⇒ String
Turn the object from the ruby type we deal with to a Mongo friendly type.
16 17 18 |
# File 'lib/mongoid/extensions/boolean.rb', line 16 def mongoize(object) evolve(object) end |