Class: Vobject::Vcalendar::PropertyValue::MethodValue
- Inherits:
-
Text
- Object
- PropertyValue
- Text
- Vobject::Vcalendar::PropertyValue::MethodValue
- Defined in:
- lib/vobject/vcalendar/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ MethodValue
constructor
A new instance of MethodValue.
- #to_hash ⇒ Object
Methods inherited from Text
Methods inherited from PropertyValue
Constructor Details
#initialize(val) ⇒ MethodValue
Returns a new instance of MethodValue.
64 65 66 67 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 64 def initialize(val) self.value = val self.type = "methodvalue" end |
Instance Method Details
#to_hash ⇒ Object
69 70 71 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 69 def to_hash value end |