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.



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

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



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

def LeaveListAttribute::tjpId
  'leave'
end

Instance Method Details

#to_tjpObject



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

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