disu.se

WarningClass

Namespace

Lookout::Expected::Lookout

Ancestors
  1. Object

  2. Value

  3. Object

Represents expected ::Lookout::Warnings.

Constructor

This class inherits its constructor from Object.

Instance Methods

expect(file::String, line::Integer){ … }Expected::Output#

Returns an expect block for the receiver at line in file that’ll yield and expect the warning to be output to $stderr during the execution of the block.

Yield Returns::Lookout::Warning

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

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