# File lib/rspec/matchers/have.rb, line 22
      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