Class: TaskJuggler::ScenarioListAttribute
- Inherits:
-
ListAttributeBase
- Object
- AttributeBase
- ListAttributeBase
- TaskJuggler::ScenarioListAttribute
- 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) ⇒ ScenarioListAttribute
constructor
A new instance of ScenarioListAttribute.
- #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) ⇒ ScenarioListAttribute
Returns a new instance of ScenarioListAttribute.
552 553 554 |
# File 'lib/taskjuggler/Attributes.rb', line 552 def initialize(property, type, container) super end |
Class Method Details
.tjpId ⇒ Object
556 557 558 |
# File 'lib/taskjuggler/Attributes.rb', line 556 def ScenarioListAttribute::tjpId 'scenarios' end |
Instance Method Details
#to_s(query = nil) ⇒ Object
560 561 562 |
# File 'lib/taskjuggler/Attributes.rb', line 560 def to_s(query = nil) get.join(', ') end |