Class: Vcard::V3_0::PropertyValue::Org
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Org
Returns a new instance of Org.
299
300
301
302
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 299
def initialize(val)
self.value = val
self.type = "org"
end
|
Instance Method Details
#to_hash ⇒ Object
308
309
310
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 308
def to_hash
value
end
|
#to_s ⇒ Object
304
305
306
|
# File 'lib/vobject/vcard/v3_0/propertyvalue.rb', line 304
def to_s
value.map { |m| Text.escape m }.join(";")
end
|