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::ParameterValidation

Parent Namespace
Cuprum
Extended Modules
SleepingKingStudios::Tools::Toolbox::Mixin
Defined In
lib/cuprum/parameter_validation.rb

Table Of Contents

Overview

Mixin for declaring validations for command parameters.

Back To Top

Defined Under Namespace

Classes
ValidationRule, Validator
Modules
ClassMethods

Back To Top

Instance Methods

#call(*arguments, **keywords, &block) => Cuprum::Result

Validates the parameters and passes them to super.

Parameters

Returns

See Also

Back To Top


Back to Documentation | Reference | Cuprum