Class: Statecraft::Pipeline::Frame
- Inherits:
-
Struct
- Object
- Struct
- Statecraft::Pipeline::Frame
- Defined in:
- lib/statecraft/pipeline.rb
Overview
One frame per pipeline currently running in this execution context. The key identifies the record across instances — (base_class name, id, machine) — so re-entering the same record's pipeline between its start and the completion of CAS (guards, before_transition) is caught even through a freshly loaded instance. cas_done flips right after the CAS statement: chains launched from after_transition are legal by construction.
Instance Attribute Summary collapse
-
#cas_done ⇒ Object
Returns the value of attribute cas_done.
-
#key ⇒ Object
Returns the value of attribute key.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Attribute Details
#cas_done ⇒ Object
Returns the value of attribute cas_done
26 27 28 |
# File 'lib/statecraft/pipeline.rb', line 26 def cas_done @cas_done end |
#key ⇒ Object
Returns the value of attribute key
26 27 28 |
# File 'lib/statecraft/pipeline.rb', line 26 def key @key end |
#label ⇒ Object
Returns the value of attribute label
26 27 28 |
# File 'lib/statecraft/pipeline.rb', line 26 def label @label end |