Class: SolidFlow::Replay::AwaitingState
- Inherits:
-
Struct
- Object
- Struct
- SolidFlow::Replay::AwaitingState
- Defined in:
- lib/solid_flow/replay.rb
Instance Attribute Summary collapse
-
#instructions ⇒ Object
Returns the value of attribute instructions.
-
#step ⇒ Object
Returns the value of attribute step.
Instance Method Summary collapse
Instance Attribute Details
#instructions ⇒ Object
Returns the value of attribute instructions
57 58 59 |
# File 'lib/solid_flow/replay.rb', line 57 def instructions @instructions end |
#step ⇒ Object
Returns the value of attribute step
57 58 59 |
# File 'lib/solid_flow/replay.rb', line 57 def step @step end |
Instance Method Details
#signal_instructions ⇒ Object
66 67 68 |
# File 'lib/solid_flow/replay.rb', line 66 def signal_instructions instructions.select { |inst| inst[:type].to_sym == :signal } end |
#timer_instructions ⇒ Object
62 63 64 |
# File 'lib/solid_flow/replay.rb', line 62 def timer_instructions instructions.select { |inst| inst[:type].to_sym == :timer } end |