Cuprum

An opinionated implementation of the Command pattern for Ruby applications. Cuprum wraps your business logic in a consistent, object-oriented interface and features status and error management, composability and control flow management.

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

Parent Namespace
Cuprum::Utils::InstanceSpy
Defined In
lib/cuprum/utils/instance_spy.rb

Table Of Contents

Overview

Minimal class double implementing the #call method.

Back To Top

Instance Methods

#call(*_args, **_kwargs, &) => Object

Empty method that accepts any parameters and an optional block.

Back To Top


Back to Documentation | Reference | Cuprum | Cuprum::Utils | Cuprum::Utils::InstanceSpy