Class: ChronoForge::Workflow
- Inherits:
-
ApplicationRecord
- Object
- ChronoForge::Workflow
- Defined in:
- lib/chrono_forge/workflow.rb
Instance Method Summary collapse
Instance Method Details
#executable? ⇒ Boolean
42 43 44 |
# File 'lib/chrono_forge/workflow.rb', line 42 def executable? idle? || running? end |
#job_klass ⇒ Object
46 47 48 |
# File 'lib/chrono_forge/workflow.rb', line 46 def job_klass job_class.constantize end |