method
==
1.3.1 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::ArgumentMatchers::HashNotIncludingMatcher
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
==(actual)
public
Hide source
# File lib/spec/mocks/argument_matchers.rb, line 81 def ==(actual) @expected.each do | key, value | return false if actual.has_key?(key) && value == actual[key] end true rescue NoMethodError => ex return false end