Class: RRule::Daily

Inherits:
Frequency show all
Defined in:
lib/rrule/frequencies/daily.rb

Instance Attribute Summary

Attributes inherited from Frequency

#current_date, #filters, #generator, #timeset

Instance Method Summary collapse

Methods inherited from Frequency

#advance, for_options, #initialize, #next_occurrences

Constructor Details

This class inherits a constructor from RRule::Frequency

Instance Method Details

#possible_daysObject



5
6
7
# File 'lib/rrule/frequencies/daily.rb', line 5

def possible_days
  [current_date.yday - 1] # convert to 0-indexed
end