Class: Icalendar::Todo
- Defined in:
- lib/icalendar/component/todo.rb
Overview
A Todo calendar component is a grouping of component properties and possibly Alarm calendar components that represent an action-item or assignment. For example, it can be used to represent an item of work assigned to an individual; such as “turn in travel expense today”.
Instance Attribute Summary
Attributes inherited from Component
Instance Method Summary collapse
-
#initialize ⇒ Todo
constructor
A new instance of Todo.
Methods inherited from Component
#add_component, #add_sliced_text, #custom_property, #escape_chars, #multi_property?, #multiline_property?, #new_uid, #print_component, #print_parameters, #print_properties, #remove_component, #respond_to?, #to_ical
Methods inherited from Base
Constructor Details
#initialize ⇒ Todo
Returns a new instance of Todo.
55 56 57 58 59 60 61 |
# File 'lib/icalendar/component/todo.rb', line 55 def initialize() super("VTODO") sequence 0 DateTime.now uid new_uid end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Icalendar::Component