lib/memory_model/collection/index.rb
# `where` should allow me to specify complex arguments and return an array
`where` should allow me to specify complex arguments and return an array
` where ` should allow me to specify complex arguments and return an array
def where(matcher)
        matcher_class = matcher.class.name.underscore
        send("where_using_#{matcher_class}", matcher)
      rescue NoMethodError
        respond_to?(:where_using_default, true) ? where_using_default(matcher) :
          raise(InvalidWhereQuery, matcher_class)
      end
def where ( matcher ) matcher_class = matcher . class . name . underscore send ( "where_using_#{matcher_class}" , matcher ) rescue NoMethodError respond_to? ( :where_using_default , true ) ? where_using_default ( matcher ) : raise ( InvalidWhereQuery , matcher_class ) end
`where` should allow me to specify complex arguments and return an array
` where ` should allow me to specify complex arguments and return an array
matcher
<not_specific>