Rufus::Scheduler::Job
# File lib/rufus/scheduler/jobs.rb, line 340 def occurrences(time0, time1) time >= time0 && time <= time1 ? [ time ] : [] end
# File lib/rufus/scheduler/jobs.rb, line 347 def determine_id [ self.class.name.split(':').last.downcase[0..-4], @scheduled_at.to_f, @next_time.to_f, opts.hash.abs ].map(&:to_s).join('_') end
There is no next_time for one time jobs, hence the false.
# File lib/rufus/scheduler/jobs.rb, line 359 def set_next_time(is_post, trigger_time) @next_time = is_post ? nil : false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.