Class: Trailblazer::Activity::Path::DSL::State
- Inherits:
-
Linear::State
- Object
- Linear::State
- Trailblazer::Activity::Path::DSL::State
- Defined in:
- lib/trailblazer/activity/path.rb
Overview
Implements the actual API (#step and friends). This can be used later to create faster DSLs where the activity is compiled only once, a la
Path() do ... end
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#step(*args) ⇒ Object
173 174 175 |
# File 'lib/trailblazer/activity/path.rb', line 173 def step(*args) seq = Linear::Strategy.task_for!(self, :step, *args) # mutate @state end |