Method: Lookout::Object::Not::Receive#initialize

Defined in:
lib/lookout-3.0/object/not/receive.rb

#initialize(object) ⇒ Receive

Stands in for OBJECT, allowing a Reception exception that expects the given method never to be called to be set up.

Parameters:



8
# File 'lib/lookout-3.0/object/not/receive.rb', line 8

def initialize(object) @object = object end