Class: Vobject::Vcalendar::PropertyValue::Textlist
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Textlist
Returns a new instance of Textlist.
444
445
446
447
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 444
def initialize(val)
self.value = val
self.type = "textlist"
end
|
Instance Method Details
#to_hash ⇒ Object
453
454
455
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 453
def to_hash
value
end
|
#to_s ⇒ Object
449
450
451
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 449
def to_s
value.map { |m| Text.escape m }.join(",")
end
|