Class: Vcard::V3_0::PropertyValue::Phonenumber
- Inherits:
-
Text
- Object
- Vobject::PropertyValue
- Text
- Vcard::V3_0::PropertyValue::Phonenumber
- Defined in:
- lib/vobject/vcard/v3_0/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from Vobject::PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Phonenumber
constructor
A new instance of Phonenumber.
- #to_hash ⇒ Object
Methods inherited from Text
Methods inherited from Vobject::PropertyValue
Constructor Details
#initialize(val) ⇒ Phonenumber
Returns a new instance of Phonenumber.
95 96 97 98 |
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 95 def initialize(val) self.value = val self.type = "phonenumber" end |
Instance Method Details
#to_hash ⇒ Object
100 101 102 |
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 100 def to_hash value end |