Class: Hecks::Bluebook::DispatchSpec
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Bluebook::DispatchSpec
- Includes:
- IR
- Defined in:
- lib/hecks/bluebook/process_manager.rb
Overview
compensates — a SECOND DispatchSpec, shape-identical to this
one, naming the command that undoes THIS dispatch specifically
(see ProcessManagerBuilder::HandlerBuilder#dispatch_impl's own
comment). nil for a dispatch with nothing to undo (a pure
bookkeeping mark, or one whose own effect is superseded by a later
command rather than needing its own compensation). Never nested
further — a compensation is not itself compensable; no known
corpus need, and ADR 0025's own "a word earns its place by being
used" bar would refuse a second level speculatively.
Instance Attribute Summary collapse
-
#command_name ⇒ Object
Returns the value of attribute command_name.
-
#compensates ⇒ Object
Returns the value of attribute compensates.
-
#with_spec ⇒ Object
Returns the value of attribute with_spec.
Method Summary
Methods included from IR
Instance Attribute Details
#command_name ⇒ Object
Returns the value of attribute command_name
15 16 17 |
# File 'lib/hecks/bluebook/process_manager.rb', line 15 def command_name @command_name end |
#compensates ⇒ Object
Returns the value of attribute compensates
15 16 17 |
# File 'lib/hecks/bluebook/process_manager.rb', line 15 def compensates @compensates end |
#with_spec ⇒ Object
Returns the value of attribute with_spec
15 16 17 |
# File 'lib/hecks/bluebook/process_manager.rb', line 15 def with_spec @with_spec end |