class TaskJuggler::ManagerResponsibilities
Attributes
journalEntries[R]
task[R]
Public Class Methods
new(task, journalEntries)
click to toggle source
# File lib/taskjuggler/reports/StatusSheetReport.rb, line 43 def initialize(task, journalEntries) @task = task @journalEntries = journalEntries.dup end
Public Instance Methods
sort!(taskList)
click to toggle source
# File lib/taskjuggler/reports/StatusSheetReport.rb, line 48 def sort!(taskList) @journalEntries.sort! do |e1, e2| taskList.itemIndex(e1.property) <=> taskList.itemIndex(e2.property) end end