Class: TaskJuggler::ScenarioListAttribute

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) ⇒ 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

.tjpIdObject



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