TaskJuggler::AttributeBase
A ChargeSetListAttribute encapsulates a list of ChargeSet objects as PropertyTreeNode attributes.
# File lib/Attributes.rb, line 151 151: def initialize(property, type) 152: super 153: 154: @value = Array.new 155: end
# File lib/Attributes.rb, line 157 157: def ChargeSetListAttribute::tjpId 158: 'chargeset' 159: end
# 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
# 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.