Class: Vcard::V4_0::PropertyValue::Kindvalue
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V4_0::PropertyValue::Kindvalue
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Kindvalue
constructor
A new instance of Kindvalue.
- #to_hash ⇒ Object
Methods inherited from Text
escape, escape_component, listencode, #to_s
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Kindvalue
Returns a new instance of Kindvalue.
45 46 47 48 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 45 def initialize(val) self.value = val self.type = "text" end |
Instance Method Details
#to_hash ⇒ Object
50 51 52 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 50 def to_hash value end |