Class: Vcard::V4_0::PropertyValue::Uri
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V4_0::PropertyValue::Uri
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Uri
constructor
A new instance of Uri.
- #to_hash ⇒ Object
- #to_s ⇒ Object
Methods inherited from Text
escape, escape_component, listencode
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Uri
Returns a new instance of Uri.
78 79 80 81 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 78 def initialize(val) self.value = val self.type = "uri" end |
Instance Method Details
#to_hash ⇒ Object
83 84 85 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 83 def to_hash value end |
#to_s ⇒ Object
87 88 89 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 87 def to_s value end |