class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher

def ===(predicate, actual)

def ===(predicate, actual)
  @expected.__send__(predicate) do |k, v|
    actual.has_key?(k) && Support::FuzzyMatcher.values_match?(v, actual[k])
  end
rescue NoMethodError
  false
end