module Yabeda::Schked

Constants

LONG_RUNNING_JOB_RUNTIME_BUCKETS
VERSION

Public Class Methods

job_name(job) click to toggle source
# File lib/yabeda/schked.rb, line 17
def self.job_name(job)
  name = job.name || job.opts[:as]
  return name if name

  warn "❗Warning: No name specified for the job #{job.id}, using `'none'` as default."
  "none"
end