class Icalendar::Calendar

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/icalendar/calendar.rb, line 15
def initialize
  super 'calendar'
  self.prodid = 'icalendar-ruby'
  self.version = '2.0'
  self.calscale = 'GREGORIAN'
end

Public Instance Methods

publish() click to toggle source
# File lib/icalendar/calendar.rb, line 22
def publish
  self.ip_method = 'PUBLISH'
end