Method: Facon::Expectation#matches
- Defined in:
- lib/facon/expectation.rb
#matches(method, args) ⇒ Object
Returns true if the given method and arguments match this Expectation.
92 93 94 |
# File 'lib/facon/expectation.rb', line 92 def matches(method, args) @method == method && check_arguments(args) end |