lib/rufus/scheduler.rb in rufus-scheduler-1.0.9 vs lib/rufus/scheduler.rb in rufus-scheduler-1.0.10

- old
+ new

@@ -304,10 +304,12 @@ # will return the thread of the last triggered instance, thus, in case # of overlapping executions, you only get the most recent thread. # class Scheduler + VERSION = "1.0.10" + # # By default, the precision is 0.250, with means the scheduler # will check for jobs to execute 4 times per second. # attr_reader :precision @@ -405,12 +407,12 @@ end # # Instantiates a new Rufus::Scheduler instance, starts it and returns it # - def self.start_new + def self.start_new (params = {}) - s = self.new + s = self.new(params) s.start s end #