Class: Icalendar::Todo
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Todo
constructor
A new instance of Todo.
Methods inherited from Component
Methods included from HasComponents
#add_component, included, #method_missing, #respond_to_missing?
Methods included from HasProperties
included, #method_missing, #respond_to_missing?, #valid?
Constructor Details
#initialize ⇒ Todo
Returns a new instance of Todo.
44 45 46 47 48 |
# File 'lib/icalendar/todo.rb', line 44 def initialize super 'todo' 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