class Vobject::Vcalendar::PropertyValue::Integer

Public Class Methods

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

Public Instance Methods

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