Method: Whenever::Job#output

Defined in:
lib/whenever/job.rb

#outputObject



19
20
21
22
23
# File 'lib/whenever/job.rb', line 19

def output
  job = process_template(@template, @options)
  out = process_template(@job_template, @options.merge(:job => job))
  out.gsub(/%/, '\%')
end