Class: Lookout::Object::To
Overview
The “to” keyword on Objects.
Defined Under Namespace
Classes: Receive
Instance Method Summary collapse
-
#initialize(object) ⇒ To
constructor
Wraps OBJECT as a “to”.
-
#receive ⇒ Receive
A wrapper around the object that’ll set up a reception expectation on it.
Constructor Details
#initialize(object) ⇒ To
Wraps OBJECT as a “to”.
7 |
# File 'lib/lookout-3.0/object/to.rb', line 7 def initialize(object) @object = object end |