Class Index [+]

Quicksearch

TaskJuggler::ReferenceAttribute

Public Class Methods

new(property, type) click to toggle source
     # File lib/Attributes.rb, line 399
399:     def initialize(property, type)
400:       super
401:     end
tjpId() click to toggle source
     # File lib/Attributes.rb, line 403
403:     def ReferenceAttribute::tjpId
404:       'reference'
405:     end

Public Instance Methods

label() click to toggle source
     # File lib/Attributes.rb, line 422
422:     def label
423:       @value ? (@value[1] ? @value[1][0] : @value[0]) : nil
424:     end
to_rti(query) click to toggle source
     # File lib/Attributes.rb, line 411
411:     def to_rti(query)
412:       return nil unless @value
413: 
414:       rText = RichText.new("[#{url} #{label}]")
415:       rText.generateIntermediateFormat
416:     end
to_s(query) click to toggle source
     # File lib/Attributes.rb, line 407
407:     def to_s(query)
408:       url || ''
409:     end
url() click to toggle source
     # File lib/Attributes.rb, line 418
418:     def url
419:       @value ? @value[0] : nil
420:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.