class Vobject::Vcalendar::PropertyValue::Float

Public Class Methods

new(val) click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 183
def initialize(val)
  self.value = val
  self.type = "float"
end

Public Instance Methods

<=>(another) click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 179
def <=>(another)
  value <=> another.value
end
to_hash() click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 192
def to_hash
  value
end
to_s() click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 188
def to_s
  value.to_s
end