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?, #error, #failure?, #reset!, #status, #success?, #to_cuprum_result, #value

Methods inherited from Command

#initialize

Methods included from Chaining

#call, #chain, #chain!, #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