lib/ri_cal/calendar_occurrences.rb
# Return occurrences for all recurrable subcomponents of a calendar
Return occurrences for all recurrable subcomponents of a calendar
Return occurrences for all recurrable subcomponents of a calendar
def next_instance(instances, occurrence)
      found = nil
      instances.delete_if do |i|
        if i.recurrence_id == occurrence.dtstart
          found = i
        end
      end
      found
    end
def next_instance ( instances , occurrence ) found = nil instances . delete_if do | i | if i . recurrence_id == occurrence . dtstart found = i end end found end
Return occurrences for all recurrable subcomponents of a calendar
Return occurrences for all recurrable subcomponents of a calendar
instances
occurrence