Class: Vobject::Vcalendar::PropertyValue::Datetimeutclist
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
Returns a new instance of Datetimeutclist.
509
510
511
512
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 509
def initialize(val)
self.value = val
self.type = "datetimeutclist"
end
|
Instance Method Details
#to_hash ⇒ Object
518
519
520
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 518
def to_hash
value.map(&:to_hash)
end
|
#to_s ⇒ Object
514
515
516
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 514
def to_s
value.map(&:to_s).join(",")
end
|