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

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

Overview

Minimal class double implementing the #call method.

Instance Method Summary collapse

Instance Method Details

#call(*_args, **_kwargs, &block) ⇒ Object

Empty method that accepts any parameters and an optional block.



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

def call(*_args, **_kwargs, &block); end