Class: FlexMock::HashMatcher
- Defined in:
- lib/flexmock/argument_matchers.rb
Overview
Match hashes that match all the fields of hash
.
Instance Method Summary collapse
- #===(target) ⇒ Object
-
#initialize(hash) ⇒ HashMatcher
constructor
A new instance of HashMatcher.
- #inspect ⇒ Object
Constructor Details
#initialize(hash) ⇒ HashMatcher
Returns a new instance of HashMatcher.
59 60 61 |
# File 'lib/flexmock/argument_matchers.rb', line 59 def initialize(hash) @hash = hash end |