Class: Vobject::Vcalendar::PropertyValue::Requeststatusvalue
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
Returns a new instance of Requeststatusvalue.
524
525
526
527
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 524
def initialize(val)
self.value = val
self.type = "requeststatusvalue"
end
|
Instance Method Details
#to_hash ⇒ Object
535
536
537
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 535
def to_hash
value
end
|
#to_s ⇒ Object
529
530
531
532
533
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 529
def to_s
ret = "#{value[:statcode]};#{value[:statdesc]}"
ret += ";#{value[:extdata]}" if value[:extdata]
ret
end
|