Class: Mongoid::Criterion::Unconvertable

Inherits:
String
  • Object
show all
Defined in:
lib/mongoid_integer_keys.rb

Instance Method Summary collapse

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