Class: Mongoid::Criterion::Unconvertable
- Defined in:
- lib/mongoid/criterion/unconvertable.rb
Overview
Wrapper class for strings that should not be converted into BSON::ObjectIds.
Constant Summary
Constants included from Extensions::String::Inflections
Extensions::String::Inflections::CHAR_CONV, Extensions::String::Inflections::REVERSALS
Instance Method Summary collapse
-
#initialize(value) ⇒ Unconvertable
constructor
Initialize just like a normal string, and quack like it to.
Methods included from Extensions::String::Conversions
Methods included from Extensions::String::Inflections
#collectionize, #identify, #invert, #labelize, #plural?, #reader, #singular?, #writer?
Constructor Details
#initialize(value) ⇒ Unconvertable
Initialize just like a normal string, and quack like it to.
17 |
# File 'lib/mongoid/criterion/unconvertable.rb', line 17 def initialize(value); super; end |