class Vcard::V3_0::PropertyValue::Textlist

Public Class Methods

new(val) click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 356
def initialize(val)
  self.value = val
  self.type = "textlist"
end

Public Instance Methods

to_hash() click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 365
def to_hash
  value
end
to_s() click to toggle source
# File lib/vobject/vcard/v3_0/propertyvalue.rb, line 361
def to_s
  value.map { |m| Text.escape m }.join(",")
end