Class: RRule::AllOccurrences
- Defined in:
- lib/rrule/generators/all_occurrences.rb
Instance Attribute Summary
Attributes inherited from Generator
Instance Method Summary collapse
Methods inherited from Generator
Constructor Details
This class inherits a constructor from RRule::Generator
Instance Method Details
#combine_dates_and_times(dayset, timeset) ⇒ Object
5 6 7 8 9 |
# File 'lib/rrule/generators/all_occurrences.rb', line 5 def combine_dates_and_times(dayset, timeset) dayset.compact.map { |i| context.first_day_of_year + i }.flat_map do |date| process_timeset(date, timeset) end end |