# File lib/taskjuggler/Attributes.rb, line 247 def initialize(property, type, container) super end
# File lib/taskjuggler/Attributes.rb, line 251 def DurationAttribute::tjpId 'duration' end
# File lib/taskjuggler/Attributes.rb, line 259 def to_s(query = nil) query ? query.scaleDuration(query.project.slotsToDays(get)) : get.to_s end
# File lib/taskjuggler/Attributes.rb, line 255 def to_tjp @type.id + ' ' + get.to_s + 'h' end