disu.se

OutputClass

Namespace

Lookout::Expected::Lookout

Ancestors
  1. Object

  2. Value

  3. Object

Represents expected ::Lookout::Outputs.

Constructor

This class inherits its constructor from Object.

Instance Methods

expect(file::String, line::Integer){ |io::IO|::Lookout::Output … }Expect::Lookout::Output#

Returns an expect block for the receiver at line in file that’ll yield an io object that’ll expect to see the #expected output during the execution of the block.

difference(actual::Lookout::Output)Difference::Lookout::Output?#

Returns a difference report between actual and #expected unless they’re #==.