Rufus::Scheduler::SimpleJob

The base class of at/in/every jobs.

Attributes

at[R]

When the job is supposed to trigger

last[R]

Public Instance Methods

determine_at() click to toggle source
     # File lib/rufus/sc/jobs.rb, line 203
203:     def determine_at
204: 
205:       @at = Rufus.at_to_f(@t)
206:     end
next_time() click to toggle source

Returns the next time (or the unique time) this job is meant to trigger

     # File lib/rufus/sc/jobs.rb, line 210
210:     def next_time
211: 
212:       Time.at(@at)
213:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.