Class: Vobject::Vcalendar::PropertyValue::Color
- Inherits:
-
Text
- Object
- PropertyValue
- Text
- Vobject::Vcalendar::PropertyValue::Color
- Defined in:
- lib/vobject/vcalendar/propertyvalue.rb
Instance Attribute Summary
Attributes inherited from PropertyValue
Instance Method Summary collapse
-
#initialize(val) ⇒ Color
constructor
A new instance of Color.
- #to_hash ⇒ Object
Methods inherited from Text
Methods inherited from PropertyValue
Constructor Details
#initialize(val) ⇒ Color
Returns a new instance of Color.
86 87 88 89 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 86 def initialize(val) self.value = val self.type = "color" end |
Instance Method Details
#to_hash ⇒ Object
91 92 93 |
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 91 def to_hash value end |