Object
# File lib/rspec/mocks/argument_matchers.rb, line 53 53: def initialize(expected) 54: @expected = expected 55: end
# File lib/rspec/mocks/argument_matchers.rb, line 57 57: def ==(actual) 58: @expected.all? {|k,v| actual.has_key?(k) && v == actual[k]} 59: rescue NoMethodError 60: false 61: end
# File lib/rspec/mocks/argument_matchers.rb, line 63 63: def description 64: "hash_including(#{@expected.inspect.sub(/^\{/,"").sub(/\}$/,"")})" 65: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.