disu.se

ExceptionClass

Namespace

Lookout::Expected::Classes

Ancestors
  1. Object

  2. Value

  3. Object

Represents expected values that are descendants of ::Exception.

Constructor

This class inherits its constructor from Object.

Instance Methods

expect(file::String, line::Integer){ |classClass|Class … }Expect::Classes::Exception#

Returns an expect block for the receiver at line in file that’ll yield the #expected exception class and expect it or one of its descendants to be raised.