Class: Cuprum::BuiltIn::NullOperation

Inherits:
NullCommand show all
Includes:
Operation::Mixin
Defined in:
lib/cuprum/built_in/null_operation.rb

Overview

A predefined operation that does nothing when called.

Examples:

operation = NullOperation.new.call
operation.value
#=> nil
operation.success?
#=> true

Instance Attribute Summary

Attributes included from Operation::Mixin

#result

Method Summary

Methods included from Operation::Mixin

#call, #called?, #errors, #failure?, #halted?, #reset!, #success?, #value

Methods inherited from Command

#initialize

Methods included from Chaining

#chain, #chain!, #failure, #success, #tap_result, #tap_result!, #yield_result, #yield_result!

Methods included from Processing

#arity, #call, #process

Constructor Details

This class inherits a constructor from Cuprum::Command