Class: Mongoid::Criterion::Unconvertable
- Inherits:
-
String
- Object
- String
- Mongoid::Criterion::Unconvertable
- Defined in:
- lib/mongoid_integer_keys.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ Unconvertable
constructor
A new instance of Unconvertable.
Constructor Details
#initialize(value) ⇒ Unconvertable
Returns a new instance of Unconvertable.
35 36 37 |
# File 'lib/mongoid_integer_keys.rb', line 35 def initialize(value) super(value.to_s) end |