Class: Vobject::Vcalendar::PropertyValue::Datetimeutclist

Inherits:
PropertyValue
  • Object
show all
Defined in:
lib/vobject/vcalendar/propertyvalue.rb

Instance Attribute Summary

Attributes inherited from PropertyValue

#errors, #norm, #type, #value

Instance Method Summary collapse

Methods inherited from PropertyValue

#<=>, #name, #to_norm

Constructor Details

#initialize(val) ⇒ Datetimeutclist

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_hashObject



518
519
520
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 518

def to_hash
  value.map(&:to_hash)
end

#to_sObject



514
515
516
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 514

def to_s
  value.map(&:to_s).join(",")
end