Class: Icalendar::Event
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Event
constructor
A new instance of Event.
Methods inherited from Component
Methods included from HasComponents
#add_component, included, #method_missing, #respond_to_missing?
Methods included from HasProperties
#append_custom_property, #custom_property, included, #method_missing, #property, #respond_to_missing?, #valid?
Constructor Details
#initialize ⇒ Event
Returns a new instance of Event.
43 44 45 46 47 |
# File 'lib/icalendar/event.rb', line 43 def initialize super 'event' self.dtstamp = Icalendar::Values::DateTime.new Time.now.utc, 'tzid' => 'UTC' self.uid = new_uid end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icalendar::HasComponents