Class | Icalendar::RRule |
In: |
lib/icalendar/rrule.rb
|
Parent: | Icalendar::Base |
This class is not yet fully functional..
Gem versions < 1.1.0.0 used to return a string for the recurrence_rule component, but now it returns this Icalendar::RRule class. ie It‘s not backwards compatible!
To get the original RRULE value from a parsed feed, use the ‘orig_value’ property.
Example:
rules = event.recurrence_rules.map{ |rule| rule.orig_value }