Class: RRule::Monthly
- Defined in:
- lib/rrule/frequencies/monthly.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_days ⇒ Object
5 6 7 8 |
# File 'lib/rrule/frequencies/monthly.rb', line 5 def possible_days # yday is 1-indexed, need results 0-indexed (current_date.beginning_of_month.yday - 1..current_date.end_of_month.yday - 1).to_a end |