Class Index [+]

Quicksearch

TaskJuggler::ChargeSetListAttribute

A ChargeSetListAttribute encapsulates a list of ChargeSet objects as PropertyTreeNode attributes.

Public Class Methods

new(property, type) click to toggle source
     # File lib/Attributes.rb, line 151
151:     def initialize(property, type)
152:       super
153: 
154:       @value = Array.new
155:     end
tjpId() click to toggle source
     # File lib/Attributes.rb, line 157
157:     def ChargeSetListAttribute::tjpId
158:       'chargeset'
159:     end

Public Instance Methods

to_s(query = nil) click to toggle source
     # File lib/Attributes.rb, line 161
161:     def to_s(query = nil)
162:       out = []
163:       @value.each { |i| out << i.to_s }
164:       out.join(", ")
165:     end
to_tjp() click to toggle source
     # File lib/Attributes.rb, line 167
167:     def to_tjp
168:       out = []
169:       @value.each { |i| out << i.to_s }
170:       @type.id + " " + out.join(', ')
171:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.