Match only things where the block evaluates to true.
# File lib/flexmock/argument_matchers.rb, line 59 def initialize(hash) @hash = hash end
# File lib/flexmock/argument_matchers.rb, line 62 def ===(target) @hash.all? { |k, v| target[k] == v } end
# File lib/flexmock/argument_matchers.rb, line 65 def inspect "hsh(#{@hash.inspect})" end