Module: Workflow::Specification::StateTagHelpers
- Defined in:
- lib/workflow/specification.rb
Instance Method Summary collapse
Instance Method Details
#initial? ⇒ Boolean
131 132 133 |
# File 'lib/workflow/specification.rb', line 131 def initial? sequence.zero? end |
#terminal? ⇒ Boolean
135 136 137 |
# File 'lib/workflow/specification.rb', line 135 def terminal? events.empty? end |