Class: Vobject::Vcalendar::PropertyValue::Color
- Inherits:
-
Text
show all
- Defined in:
- lib/vobject/vcalendar/propertyvalue.rb
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
Methods inherited from Text
escape, #to_s
#<=>, #name, #to_norm, #to_s
Constructor Details
#initialize(val) ⇒ 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
|