Class: Wakame::Scheduler::PerWeekSequence

Inherits:
UnitTimeSequence show all
Defined in:
lib/wakame/scheduler.rb

Constant Summary collapse

WEEK_IN_SEC =
60 * 60 * 24 * 7

Instance Attribute Summary

Attributes inherited from TimedSequence

#start_at

Instance Method Summary collapse

Methods inherited from UnitTimeSequence

#set, #start_at=

Methods inherited from TimedSequence

#[]=, #first_event, #initialize, #last_event, #next_event, #range_check?, #set, #value_at

Constructor Details

This class inherits a constructor from Wakame::Scheduler::TimedSequence

Instance Method Details

#durationObject



217
218
219
# File 'lib/wakame/scheduler.rb', line 217

def duration
  WEEK_IN_SEC
end