Class: Vobject::Vcalendar::PropertyValue::Ianatoken

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) ⇒ Ianatoken

Returns a new instance of Ianatoken.



130
131
132
133
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 130

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

Instance Method Details

#to_hashObject



135
136
137
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 135

def to_hash
  value
end