Class: TaskJuggler::LeaveListAttribute
- Inherits:
-
ListAttributeBase
- Object
- AttributeBase
- ListAttributeBase
- TaskJuggler::LeaveListAttribute
- 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) ⇒ LeaveListAttribute
constructor
A new instance of LeaveListAttribute.
- #to_tjp ⇒ 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_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
.tjpId ⇒ Object
372 373 374 |
# File 'lib/taskjuggler/Attributes.rb', line 372 def LeaveListAttribute::tjpId 'leave' end |
Instance Method Details
#to_tjp ⇒ Object
376 377 378 |
# File 'lib/taskjuggler/Attributes.rb', line 376 def to_tjp "leaves #{get.join(",\n")}" end |