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.

Cuprum

Cuprum implements the Command pattern for Ruby.

Documentation

This is the documentation for the current development build of Cuprum.

Getting Started

Add the gem to your Gemfile or gemspec:

gem 'cuprum'

Require Cuprum in your code:

require 'cuprum'

To ensure that error message definitions are loaded, call the Cuprum initializer:

Reference

Cuprum defines the following core components:

For a full list of defined classes and objects, see Reference.