Class: Vobject::Vcalendar::PropertyValue::Uri

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

Instance Attribute Summary

Attributes inherited from PropertyValue

#errors, #norm, #type, #value

Instance Method Summary collapse

Methods inherited from Text

escape, #to_s

Methods inherited from PropertyValue

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

Constructor Details

#initialize(val) ⇒ Uri

Returns a new instance of Uri.



152
153
154
155
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 152

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

Instance Method Details

#to_hashObject



157
158
159
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 157

def to_hash
  value
end