class Vcard::V3_0::PropertyValue::Float

Public Class Methods

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

Public Instance Methods

<=>(another) click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 122
def <=>(another)
  value <=> another.value
end
to_hash() click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 135
def to_hash
  value
end
to_s() click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 131
def to_s
  value
end