| Class | Vpim::Icalendar::Vtodo |
| In: |
lib/vpim/vtodo.rb
|
| Parent: | Object |
Create a new Vtodo object.
If specified, fields must be either an array of Field objects to add, or a Hash of String names to values that will be used to build Field objects. The latter is a convenient short-cut allowing the Field objects to be created for you when called like:
Vtodo.create('SUMMARY' => "buy mangos")
TODO - maybe todos are usually created in a particular way? I can make it easier. Ideally, I would like to make it hard to encode an invalid Event.
The percentage completetion of the to-do, between 0 and 100. 0 means it hasn‘t started, 100 that it has been completed.
TODO - the handling of this property isn‘t tied to either COMPLETED: or STATUS:, but perhaps it should be?