Class: TaskJuggler::FloatAttribute

Inherits:
AttributeBase 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 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.



298
299
300
# File 'lib/taskjuggler/Attributes.rb', line 298

def initialize(property, type, container)
  super
end

Class Method Details

.tjpIdObject



302
303
304
# File 'lib/taskjuggler/Attributes.rb', line 302

def FloatAttribute::tjpId
  'number'
end

Instance Method Details

#to_tjpObject



306
307
308
# File 'lib/taskjuggler/Attributes.rb', line 306

def to_tjp
  id + ' ' + get.to_s
end