class TaskJuggler::ChargeSetListAttribute

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

Public Class Methods

new(property, type, container) click to toggle source
Calls superclass method TaskJuggler::ListAttributeBase::new
# File lib/taskjuggler/Attributes.rb, line 163
def initialize(property, type, container)
  super
end
tjpId() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 167
def ChargeSetListAttribute::tjpId
  'chargeset'
end

Public Instance Methods

to_s(query = nil) click to toggle source
# File lib/taskjuggler/Attributes.rb, line 171
def to_s(query = nil)
  out = []
  get.each { |i| out << i.to_s }
  out.join(", ")
end
to_tjp() click to toggle source
# File lib/taskjuggler/Attributes.rb, line 177
def to_tjp
  out = []
  get.each { |i| out << i.to_s }
  @type.id + " " + out.join(', ')
end