class Vobject::Vcalendar::PropertyValue::Version
Public Class Methods
new(val)
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 425 def initialize(val) self.value = val self.type = "version" end
Public Instance Methods
to_hash()
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 434 def to_hash if value.length == 1 value[0] else value end end
to_s()
click to toggle source
# File lib/vobject/vcalendar/propertyvalue.rb, line 430 def to_s value.join(";") end