disu.se

ActualClass

Namespace

Lookout

Ancestors
  1. Aphonic

  2. Object

Subclasses
Not

Inverts Actual.

Stands in for the actual result of the expect block, allowing a query method to call on the actual result to be set up and checked after the expect block returns. Used by Lookout::Expectations::Context#result.

Children

Method

Proxies a method for later invocation on the actual result.

Not

Inverts Actual.

Dynamic Method Handling

This class handles dynamic methods through #method_missing.

method_missing(methodSymbol, *argsObject*, &blockProc)Methodprivate#

Returns a method wrapper that’ll call method with args and block when called.

Instance Methods

notActual::Not#

Returns a result stand-in that’s the inversion of the receiver.

toself#

Method for improving readability of query method set-up.

beself#

Method for improving readability of query method set-up.

haveself#

Method for improving readability of query method set-up.