class Mongomatic::TypeConverters::String

Public Instance Methods

convert_orig_val() click to toggle source
# File lib/mongomatic/type_converters.rb, line 36
def convert_orig_val
  @orig_val.respond_to?(:to_s) ? @orig_val.to_s : nil
end
type_match?() click to toggle source
# File lib/mongomatic/type_converters.rb, line 32
def type_match?
  @orig_val.kind_of? ::String
end