Class: Vcard::V3_0::PropertyValue::Profilevalue

Inherits:
Text show all
Defined in:
lib/vobject/vcard/v3_0/propertyvalue.rb

Instance Attribute Summary

Attributes inherited from Vobject::PropertyValue

#errors, #norm, #type, #value

Instance Method Summary collapse

Methods inherited from Text

escape, listencode, #to_s

Methods inherited from Vobject::PropertyValue

#<=>, #name, #to_norm, #to_s

Constructor Details

#initialize(val) ⇒ Profilevalue

Returns a new instance of Profilevalue.



51
52
53
54
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 51

def initialize(val)
  self.value = val
  self.type = "profilevalue"
end

Instance Method Details

#to_hashObject



56
57
58
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 56

def to_hash
  value
end