# File lib/taskjuggler/Attributes.rb, line 75 def to_s(query = nil) out = '' first = true get.each do |allocation| if first first = false else out << "\n" end out << '[ ' firstR = true allocation.candidates.each do |resource| if firstR firstR = false else out << ', ' end out << resource.fullId end modes = %(order lowprob lowload hiload random) out << " ] select by #{modes[allocation.selectionMode]} " out << 'mandatory ' if allocation.mandatory out << 'persistent ' if allocation.persistent end out end
Generated with the Darkfish Rdoc Generator 2.