lib/rufus/scheduler.rb in rufus-scheduler-2.0.19 vs lib/rufus/scheduler.rb in rufus-scheduler-2.0.20

- old
+ new

@@ -26,9 +26,16 @@ require 'rufus/sc/scheduler' module Rufus::Scheduler + # Starts and return a new instance of a PlainScheduler. + # + def self.new(opts={}) + + PlainScheduler.start_new(opts) + end + # A quick way to get a scheduler up an running # # require 'rubygems' # s = Rufus::Scheduler.start_new #