Class Index [+]

Quicksearch

TaskJuggler::DurationAttribute

Public Class Methods

new(property, type) click to toggle source
     # File lib/Attributes.rb, line 235
235:     def initialize(property, type)
236:       super
237:     end
tjpId() click to toggle source
     # File lib/Attributes.rb, line 239
239:     def DurationAttribute::tjpId
240:       'duration'
241:     end

Public Instance Methods

to_s(query = nil) click to toggle source
     # File lib/Attributes.rb, line 247
247:     def to_s(query = nil)
248:       query ? query.scaleDuration(query.project.slotsToDays(@value)) :
249:               @value.to_s
250:     end
to_tjp() click to toggle source
     # File lib/Attributes.rb, line 243
243:     def to_tjp
244:       @type.id + ' ' + @value.to_s + 'h'
245:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.