disu.se

ExpectedModule

Namespace

Lookout

Function-like namespace for type-specific expected values. Every ::Object should be convertable to a Lookout::Expected::Object when it receives #to_lookout_expected. ::Object implements this method, so all objects are covered by default. If you have a type that would benefit from more specific treatment, implement #to_lookout_expected by returning an instance of a subclass Lookout::Expected::Object.

Children

Array

Represents expected ::Arrays.

Classes

Namespace for expected values that are descendants of Class.

Exception

Represents expected ::Exceptions.

FalseClass

Represents expected FalseClasses (of which false is the only instance).

Hash

Represents expected ::Hashes.

Lookout

Namespace for expected values defined under the Lookout namespace.

Module

Represents expected ::Modules.

Object

Represents expected ::Objects.

Range

Represents expected ::Ranges.

Regexp

Represents expected ::Regexps.

String

Represents expected ::Strings.

Symbol

Represents expected ::Symbols.

TrueClass

Represents expected TrueClasses (of which true is the only instance).