Class: Lookout::Reception::Arguments::List
- Defined in:
- lib/lookout-3.0/reception/arguments/list.rb
Overview
Arguments matcher matching a list of arguments. It uses Difference to do the actual work.
Direct Known Subclasses
Instance Method Summary collapse
-
#=~(other) ⇒ Object
True if there are no differences between the expected arguments and OTHER.
-
#to_s ⇒ Object
The receiver as a String argument list.
Instance Method Details
#=~(other) ⇒ Object
Returns True if there are no differences between the expected arguments and OTHER.
13 |
# File 'lib/lookout-3.0/reception/arguments/list.rb', line 13 def =~(other) not args.to_lookout_expected.difference(other) end |