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.

Module: Cuprum::Matching::ClassMethods

Parent Namespace
Cuprum::Matching
Defined In
lib/cuprum/matching.rb

Table Of Contents

Overview

Class methods extend-ed into a class when the module is included.

Back To Top

Instance Methods

#match(status, error: nil, value: nil, &block) => Object

Defines a match clause for the matcher.

Parameters

Yields

Yield Parameters

Back To Top


Back to Documentation | Versions | 1.3 | Reference | Cuprum | Cuprum::Matching