class RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher

def ==(actual)

def ==(actual)
  @expected.none? {|k,v| actual.has_key?(k) && v == actual[k]}
rescue NoMethodError
  false
end

def description

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

def initialize(expected)

def initialize(expected)
  @expected = expected
end