class Vpim::Repo::Calendar
A calendar abstraction. It models a calendar in a calendar repository that may not be an iCalendar.
It has methods that behave identically to Icalendar, but it also has methods like name and displayed that are not present in an iCalendar.
Public Instance Methods
displayed()
click to toggle source
Whether a calendar should be displayed.
TODO - should be displayed?
# File lib/vpim/repo.rb, line 54 def displayed end
each(klass=nil) { |component| ... }
click to toggle source
Enumerate the components in the calendar, both todos and events, or the specified klass. Like Vpim::Icalendar#each
# File lib/vpim/repo.rb, line 63 def each(klass=nil, &block) #:yield: component end
encode()
click to toggle source
Encode into iCalendar format.
# File lib/vpim/repo.rb, line 58 def encode end
events() { |Vevent| ... }
click to toggle source
Enumerate the events in the calendar.
# File lib/vpim/repo.rb, line 67 def events(&block) #:yield: Vevent each(Vpim::Icalendar::Vevent, &block) end
name()
click to toggle source
The calendar name.
# File lib/vpim/repo.rb, line 48 def name end
todos() { |Vtodo| ... }
click to toggle source
Enumerate the todos in the calendar.
# File lib/vpim/repo.rb, line 72 def todos(&block) #:yield: Vtodo each(Vpim::Icalendar::Vtodo, &block) end