Class: Vcard::V4_0::PropertyValue::Ianatoken
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V4_0::PropertyValue::Ianatoken
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Ianatoken
constructor
A new instance of Ianatoken.
- #to_hash ⇒ Object
Methods inherited from Text
escape, escape_component, listencode, #to_s
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Ianatoken
Returns a new instance of Ianatoken.
67 68 69 70 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 67 def initialize(val) self.value = val self.type = "text" end |
Instance Method Details
#to_hash ⇒ Object
72 73 74 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 72 def to_hash value end |