Class: Dynflow::Action::Suspended
- Inherits:
-
Object
- Object
- Dynflow::Action::Suspended
- Defined in:
- lib/dynflow/action/suspended.rb
Instance Attribute Summary collapse
-
#execution_plan_id ⇒ Object
readonly
Returns the value of attribute execution_plan_id.
-
#step_id ⇒ Object
readonly
Returns the value of attribute step_id.
Instance Method Summary collapse
- #<<(event = nil) ⇒ Object
- #event(event, future = Future.new) ⇒ Object (also: #ask)
-
#initialize(action) ⇒ Suspended
constructor
A new instance of Suspended.
Constructor Details
#initialize(action) ⇒ Suspended
Returns a new instance of Suspended.
5 6 7 8 9 |
# File 'lib/dynflow/action/suspended.rb', line 5 def initialize(action) @world = action.world @execution_plan_id = action.execution_plan_id @step_id = action.run_step_id end |
Instance Attribute Details
#execution_plan_id ⇒ Object (readonly)
Returns the value of attribute execution_plan_id.
3 4 5 |
# File 'lib/dynflow/action/suspended.rb', line 3 def execution_plan_id @execution_plan_id end |
#step_id ⇒ Object (readonly)
Returns the value of attribute step_id.
3 4 5 |
# File 'lib/dynflow/action/suspended.rb', line 3 def step_id @step_id end |
Instance Method Details
#<<(event = nil) ⇒ Object
15 16 17 |
# File 'lib/dynflow/action/suspended.rb', line 15 def <<(event = nil) event event end |