Sha256: b625b9b272bd605e218128bd62d3a148c4ee1ae05e23fb5f590e4a5eb1abd926
Contents?: true
Size: 430 Bytes
Versions: 2
Compression:
Stored size: 430 Bytes
Contents
require 'whenever/patches/job_list' module Whenever class WebJobList < JobList attr_reader :set_variables def web_jobs @jobs.flat_map do |interval, jobs| jobs.map do |job| WebJob.new(job, interval) end end end def error_log File.read(set_variables[:output][:error]) end def standard_log File.read(set_variables[:output][:standard]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
whenever-web-0.0.4 | app/models/whenever/web_job_list.rb |
whenever-web-0.0.3 | app/models/whenever/web_job_list.rb |