class Mongomatic::TypeConverters::Fixnum

Public Instance Methods

convert_orig_val() click to toggle source
# File lib/mongomatic/type_converters.rb, line 56
def convert_orig_val
  @orig_val.respond_to?(:to_i) ? @orig_val.to_i : nil
end
type_match?() click to toggle source
# File lib/mongomatic/type_converters.rb, line 52
def type_match?
  @orig_val.kind_of? ::Fixnum
end