disu.se

ArgumentsModule

Namespace

Lookout::Reception

Arguments that should be passed to a method reception expectation. Sets things up based on what kind of arguments were passed to it and may then be used to verify that arguments that don’t differ from them are subsequently passed to the method.

Children

Any

Arguments matcher matching any arguments.

Error

Error raised when the passed arguments differ from the expected ones.

List

Arguments matcher matching a list of arguments.

None

Arguments matcher matching an empty list of arguments.

Class Methods

for(*argsObject*)Any, List, None#

Returns Any if args is #empty?, Any or None if args contain either, or a List wrapping args.