Module: Workflow::Specification::StateTagHelpers
- Defined in:
- lib/workflow/specification.rb
Instance Method Summary collapse
Instance Method Details
#initial? ⇒ Boolean
137 138 139 |
# File 'lib/workflow/specification.rb', line 137 def initial? sequence.zero? end |
#terminal? ⇒ Boolean
141 142 143 |
# File 'lib/workflow/specification.rb', line 141 def terminal? events.empty? end |