Class: Vcard::V4_0::PropertyValue::Clientpidmap
- Inherits:
-
Text
show all
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
Methods inherited from Text
escape, escape_component, listencode
#<=>, #name, #to_norm
Constructor Details
93
94
95
96
97
|
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 93
def initialize(val)
self.value = val
self.type = "text"
end
|
Instance Method Details
#to_hash ⇒ Object
103
104
105
|
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 103
def to_hash
value
end
|
#to_s ⇒ Object
99
100
101
|
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 99
def to_s
"#{value[:pid]};#{value[:uri]}"
end
|