Class: TaskJuggler::LeaveListAttribute

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?, #to_s

Methods inherited from AttributeBase

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

Constructor Details

#initialize(property, type, container) ⇒ LeaveListAttribute

Returns a new instance of LeaveListAttribute.



369
370
371
# File 'lib/taskjuggler/Attributes.rb', line 369

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



373
374
375
# File 'lib/taskjuggler/Attributes.rb', line 373

def LeaveListAttribute::tjpId
  'leave'
end

Instance Method Details

#to_tjpObject



377
378
379
# File 'lib/taskjuggler/Attributes.rb', line 377

def to_tjp
  "leaves #{get.join(",\n")}"
end