Class: TaskJuggler::ChargeListAttribute

Inherits:
ListAttributeBase show all
Defined in:
lib/taskjuggler/Attributes.rb

Instance Attribute Summary

Attributes inherited from AttributeBase

#inherited, #property, #provided, #type

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ListAttributeBase

#isList?, isList?

Methods inherited from AttributeBase

#get, #id, #inherit, isList?, #isList?, mode, #name, #nil?, #reset, #set, setMode, #to_num, #to_rti, #to_sort, #to_tjp

Constructor Details

#initialize(property, type, container) ⇒ ChargeListAttribute

Returns a new instance of ChargeListAttribute.



145
146
147
# File 'lib/taskjuggler/Attributes.rb', line 145

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



149
150
151
# File 'lib/taskjuggler/Attributes.rb', line 149

def ChargeListAttribute::tjpId
  'charge'
end

Instance Method Details

#to_s(query = nil) ⇒ Object



153
154
155
# File 'lib/taskjuggler/Attributes.rb', line 153

def to_s(query = nil)
  get.join(', ')
end