| Class | TaskJuggler::ICalendar::Todo |
| In: |
lib/taskjuggler/ICalendar.rb
|
| Parent: | Component |
| percentComplete | [RW] | |
| priority | [RW] |
Create the Todo object with some mandatory data. ical is a reference to the parent ICalendar object. uid is a unique pattern used to generate the UID tag. summary is a String for SUMMARY. startDate is used to generate DTSTART. endDate is used to either generate the COMPLETED or DUE tag.
# File lib/taskjuggler/ICalendar.rb, line 106 def initialize(ical, uid, summary, startDate, endDate) super(ical, uid, summary, startDate) # Mandatory attributes @ical.addTodo(self) @endDate = endDate # Priority value (0 - 9) @priority = 0 @percentComplete = -1 end