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.
146 147 148 |
# File 'lib/taskjuggler/Attributes.rb', line 146 def initialize(property, type, container) super end |
Class Method Details
.tjpId ⇒ Object
150 151 152 |
# File 'lib/taskjuggler/Attributes.rb', line 150 def ChargeListAttribute::tjpId 'charge' end |
Instance Method Details
#to_s(query = nil) ⇒ Object
154 155 156 |
# File 'lib/taskjuggler/Attributes.rb', line 154 def to_s(query = nil) get.join(', ') end |