class Mongomatic::TypeConverters::Array

Public Instance Methods

convert_orig_val() click to toggle source
# File lib/mongomatic/type_converters.rb, line 66
def convert_orig_val
  @orig_val.respond_to?(:to_a) ? @orig_val.to_a : nil
end
type_match?() click to toggle source
# File lib/mongomatic/type_converters.rb, line 62
def type_match?
  @orig_val.kind_of? ::Array
end