Class: Cuprum::Utils::InstanceSpy::Spy

Inherits:
Object
  • Object
show all
Defined in:
lib/cuprum/utils/instance_spy.rb

Overview

Minimal class that implements a #call method to mirror method calls to instances of an instrumented command class.

Instance Method Summary collapse

Instance Method Details

#call(*_args, &block) ⇒ Object

Empty method that accepts any arguments and an optional block.



37
# File 'lib/cuprum/utils/instance_spy.rb', line 37

def call *_args, █ end