Class: Vcard::V4_0::PropertyValue::Lang
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V4_0::PropertyValue::Lang
- Defined in:
- lib/vobject/vcard/v4_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Lang
constructor
A new instance of Lang.
- #to_hash ⇒ Object
Methods inherited from Text
escape, escape_component, listencode, #to_s
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Lang
Returns a new instance of Lang.
56 57 58 59 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 56 def initialize(val) self.value = val self.type = "language-tag" end |
Instance Method Details
#to_hash ⇒ Object
61 62 63 |
# File 'lib/vobject/vcard/v4_0/propertyvalue.rb', line 61 def to_hash value end |