disu.se

OutputClass

Namespace

Lookout

Ancestors
  1. Value

  2. Object

Subclasses
Warning

Warning expectation proxy.

Output expectation proxy. Used to expect output on an IO object during the execution of an expect block.

Constructor

initialize(expectedString)#

Proxies the expected output.

Instance Methods

diff(otherOutput)Enumerable<String>#

Returns an Enumerable over the formatted operations that would have to be applied to the actual output to get the expected output.

to_lookout_expectedExpected::Lookout::Output#

Returns a wrapper around the receiver, making it an expected value.