class WebMock::Matchers::HashArgumentMatcher
github.com/rspec/rspec-mocks/blob/master/lib/rspec/mocks/argument_matchers.rb<br>Base class for Hash matchers
def self.from_rspec_matcher(matcher)
def self.from_rspec_matcher(matcher) new(matcher.instance_variable_get(:@expected)) end
def ==(_actual, &block)
def ==(_actual, &block) @expected.all?(&block) rescue NoMethodError false end
def initialize(expected)
def initialize(expected) @expected = Hash[WebMock::Util::HashKeysStringifier.stringify_keys!(expected, deep: true).sort] end