Class: Vcard::V3_0::PropertyValue::Uri
- Inherits:
-
Text
show all
- Defined in:
- lib/vobject/vcard/v3_0/propertyvalue.rb
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
Methods inherited from Text
escape, listencode
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Uri
Returns a new instance of Uri.
106
107
108
109
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 106
def initialize(val)
self.value = val
self.type = "uri"
end
|
Instance Method Details
#to_hash ⇒ Object
111
112
113
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 111
def to_hash
value
end
|
#to_s ⇒ Object
115
116
117
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 115
def to_s
value
end
|