Class: Icalendar::Todo
Constant Summary
Constants included from HasComponents
HasComponents::METHOD_MISSING_ADD_REGEX, HasComponents::METHOD_MISSING_X_FLAG_REGEX
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, #add_custom_component, #custom_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 ⇒ Todo
49 50 51 52 53 |
# File 'lib/icalendar/todo.rb', line 49 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