Class: Vobject::Vcalendar::PropertyValue::Datetimelist
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
Returns a new instance of Datetimelist.
494
495
496
497
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 494
def initialize(val)
self.value = val
self.type = "datetimelist"
end
|
Instance Method Details
#to_hash ⇒ Object
503
504
505
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 503
def to_hash
value.map(&:to_hash)
end
|
#to_s ⇒ Object
499
500
501
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 499
def to_s
value.map(&:to_s).join(",")
end
|