class Vcard::V3_0::PropertyValue::Utcoffset
Public Class Methods
new(val)
click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 251 def initialize(val) self.value = val self.type = "utcoffset" end
Public Instance Methods
to_hash()
click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 262 def to_hash value end
to_s()
click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 256 def to_s ret = "#{value[:sign]}#{value[:hour]}:#{value[:min]}" # ret += self.value[:sec] if self.value[:sec] ret end