Class: TaskJuggler::ChargeListAttribute
- Inherits:
-
ListAttributeBase
- Object
- AttributeBase
- ListAttributeBase
- TaskJuggler::ChargeListAttribute
- 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
-
#initialize(property, type, container) ⇒ ChargeListAttribute
constructor
A new instance of ChargeListAttribute.
- #to_s(query = nil) ⇒ Object
Methods inherited from ListAttributeBase
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
.tjpId ⇒ Object
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 |