class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher

@private

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

def description(name)

def description(name)
  "#{name}(#{@expected.inspect.sub(/^\{/,"").sub(/\}$/,"")})"
end

def initialize(expected)

def initialize(expected)
  @expected = expected
end