Class: TaskJuggler::FloatAttribute
- Inherits:
-
AttributeBase
- Object
- AttributeBase
- TaskJuggler::FloatAttribute
- 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) ⇒ FloatAttribute
constructor
A new instance of FloatAttribute.
- #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) ⇒ FloatAttribute
Returns a new instance of FloatAttribute.
297 298 299 |
# File 'lib/taskjuggler/Attributes.rb', line 297 def initialize(property, type, container) super end |
Class Method Details
.tjpId ⇒ Object
301 302 303 |
# File 'lib/taskjuggler/Attributes.rb', line 301 def FloatAttribute::tjpId 'number' end |
Instance Method Details
#to_tjp ⇒ Object
305 306 307 |
# File 'lib/taskjuggler/Attributes.rb', line 305 def to_tjp id + ' ' + get.to_s end |