Class: Rufus::Scheduler::EvInJob

Inherits:
RepeatJob show all
Defined in:
lib/rufus/scheduler/jobs_repeat.rb

Overview

A parent class of EveryJob and IntervalJob

Direct Known Subclasses

EveryJob, IntervalJob

Constant Summary

Constants inherited from RepeatJob

RepeatJob::FIRSTS

Constants inherited from Job

Job::EoTime

Instance Attribute Summary

Attributes inherited from RepeatJob

#first_at, #last_at, #paused_at, #times

Attributes inherited from Job

#callable, #count, #handler, #id, #last_time, #last_work_time, #locals, #mean_work_time, #name, #next_time, #opts, #original, #previous_time, #scheduled_at, #tags, #unscheduled_at

Instance Method Summary collapse

Methods inherited from RepeatJob

#determine_id, #initialize, #next_times, #occurrences, #pause, #paused?, #resume, #trigger

Methods inherited from Job

#[], #[]=, #call, #check_frequency, #entries, #has_key?, #initialize, #keys, #kill, #next_times, #past?, #resume_discard_past=, #running?, #scheduled?, #source_location, #threads, #trigger, #trigger_off_schedule, #unschedule, #values

Constructor Details

This class inherits a constructor from Rufus::Scheduler::RepeatJob

Instance Method Details

#first_at=(first) ⇒ Object



157
158
159
160
# File 'lib/rufus/scheduler/jobs_repeat.rb', line 157

def first_at=(first)

  @next_time = super
end