Module: Mongoid::Extensions::String::Checks
- Included in:
- String
- Defined in:
- lib/mongoid/extensions/string/checks.rb
Overview
This module has object checks in it.
Instance Attribute Summary collapse
-
#unconvertable_to_bson ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#unconvertable_to_bson? ⇒ true, false
Is the object not to be converted to bson on criteria creation?.
Instance Attribute Details
#unconvertable_to_bson ⇒ Object
:nodoc:
8 9 10 |
# File 'lib/mongoid/extensions/string/checks.rb', line 8 def unconvertable_to_bson @unconvertable_to_bson end |
Instance Method Details
#unconvertable_to_bson? ⇒ true, false
Is the object not to be converted to bson on criteria creation?
18 19 20 |
# File 'lib/mongoid/extensions/string/checks.rb', line 18 def unconvertable_to_bson? !!@unconvertable_to_bson end |