Class: TaskJuggler::StringAttribute
- Inherits:
-
AttributeBase
- Object
- AttributeBase
- TaskJuggler::StringAttribute
- 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) ⇒ StringAttribute
constructor
A new instance of StringAttribute.
- #to_tjp ⇒ Object
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) ⇒ StringAttribute
Returns a new instance of StringAttribute.
611 612 613 |
# File 'lib/taskjuggler/Attributes.rb', line 611 def initialize(property, type, container) super end |
Class Method Details
.tjpId ⇒ Object
615 616 617 |
# File 'lib/taskjuggler/Attributes.rb', line 615 def StringAttribute::tjpId 'text' end |
Instance Method Details
#to_tjp ⇒ Object
619 620 621 |
# File 'lib/taskjuggler/Attributes.rb', line 619 def to_tjp "#{@type.id} #{quotedString(get)}" end |