Class: Vcard::V4_0::PropertyValue::Clientpidmap
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V4_0::PropertyValue::Clientpidmap
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Clientpidmap
constructor
A new instance of Clientpidmap.
- #to_hash ⇒ Object
- #to_s ⇒ Object
Methods inherited from Text
escape, escape_component, listencode
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Clientpidmap
Returns a new instance of Clientpidmap.
93 94 95 96 97 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 93 def initialize(val) self.value = val # not explicitly specified in spec 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 |