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 "cannot initialize a CronJob out of #{@t.inspect}"
  end
end