Class: Kali::Calendar

Inherits:
Component show all
Defined in:
lib/kali/component/calendar.rb

Instance Method Summary collapse

Methods inherited from Component

component, #components, #properties, property, property_list, #to_ics

Methods included from Utils::Named

#method_name, #name

Constructor Details

#initializeCalendar

Returns a new instance of Calendar.



16
17
18
19
20
21
# File 'lib/kali/component/calendar.rb', line 16

def initialize
  self.prodid   = Property::ProductIdentifier.new
  self.version  = Property::Version.new
  self.calscale = Property::CalendarScale.new
  super
end