class Rufus::Scheduler::CronJob
def initialize(scheduler, cron_string, params, &block)
Creates a new CronJob instance.
def initialize(scheduler, cron_string, params, &block) super @cron_line = case @t when String then CronLine.new(@t) when CronLine then @t else raise ArgumentError.new( "cannot initialize a CronJob out of #{@t.inspect}") end end