class DeltaCloud::HWP::FloatProperty
FloatProperty is like Property but return value is Float instead of String.
Public Class Methods
new(xml, name)
click to toggle source
Calls superclass method
DeltaCloud::HWP::Property.new
# File lib/hwp_properties.rb, line 54 def initialize(xml, name) super(xml, name) @value = @value.to_f if @value end