Module: Mongoid::Extensions::FalseClass
- Defined in:
- lib/mongoid/extensions/false_class.rb
Overview
Adds type-casting behavior to FalseClass.
Instance Method Summary collapse
- #__sortable__ ⇒ Integer deprecated Deprecated.
-
#is_a?(other) ⇒ true | false
Is the passed value a boolean?.
Instance Method Details
#__sortable__ ⇒ Integer
Deprecated.
Get the value of the object as a mongo friendly sort value.
15 16 17 |
# File 'lib/mongoid/extensions/false_class.rb', line 15 def __sortable__ 0 end |