Class: ChronoForge::Workflow

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
lib/chrono_forge/workflow.rb

Instance Method Summary collapse

Instance Method Details

#executable?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/chrono_forge/workflow.rb', line 42

def executable?
  idle? || running?
end

#job_klassObject



46
47
48
# File 'lib/chrono_forge/workflow.rb', line 46

def job_klass
  job_class.constantize
end