# File lib/rspec/matchers/built_in/have.rb, line 23
        def matches?(collection_or_owner)
          collection = determine_collection(collection_or_owner)
          query_method = determine_query_method(collection)
          raise not_a_collection unless query_method
          @actual = collection.__send__(query_method)
          case @relativity
          when :at_least then @actual >= @expected
          when :at_most  then @actual <= @expected
          else                @actual == @expected
          end
        end