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 NullCommand

#initialize

Methods inherited from Command

#call, #initialize, #to_proc

Methods included from Steps

#step, #steps

Methods included from Currying

#curry

Methods included from Processing

#arity, #call, #process

Constructor Details

This class inherits a constructor from Cuprum::BuiltIn::NullCommand