# File lib/rspec/matchers/have.rb, line 46 def determine_query_method(collection) [:size, :length, :count].detect {|m| collection.respond_to?(m)} end