Class: Vobject::Vcalendar::PropertyValue::Datelist
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Datelist
Returns a new instance of Datelist.
479
480
481
482
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 479
def initialize(val)
self.value = val
self.type = "datelist"
end
|
Instance Method Details
#to_hash ⇒ Object
488
489
490
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 488
def to_hash
value.map(&:to_hash)
end
|
#to_s ⇒ Object
484
485
486
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 484
def to_s
value.map(&:to_s).join(",")
end
|