Class: Lookout::Actual::Not::Method

Inherits:
Method show all
Defined in:
lib/lookout-3.0/actual/not/method.rb

Overview

Proxies a method for later invocation on the actual result. The method information is stored and used when this method is Method#called, which passes it along to the given actual result.

Instance Method Summary collapse

Methods inherited from Method

#call, #to_s

Instance Method Details

#to_lookout_expectedExpected::Lookout::Actual::Not::Method

Returns An expected value wrapper of the receiver.

Returns:



9
# File 'lib/lookout-3.0/actual/not/method.rb', line 9

def to_lookout_expected; Lookout::Expected::Lookout::Actual::Not::Method.new(self) end