Module: Mongoid::Criteria::Queryable::Extensions::Boolean::ClassMethods
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Extended In:
| |
| Defined in: | lib/mongoid/criteria/queryable/extensions/boolean.rb |
Instance Method Summary
-
#evolve(object) ⇒ true | false
Evolve the value into a boolean value stored in MongoDB.
Instance Method Details
#evolve(object) ⇒ true | false
Evolve the value into a boolean value stored in MongoDB. Will return true for any of these values: true, t, yes, y, 1, 1.0.