Class: Vobject::Vcalendar::PropertyValue::Geovalue
Instance Attribute Summary
#errors, #norm, #type, #value
Instance Method Summary
collapse
#<=>, #name, #to_norm
Constructor Details
#initialize(val) ⇒ Geovalue
Returns a new instance of Geovalue.
409
410
411
412
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 409
def initialize(val)
self.value = val
self.type = "geovalue"
end
|
Instance Method Details
#to_hash ⇒ Object
419
420
421
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 419
def to_hash
value
end
|
#to_s ⇒ Object
414
415
416
417
|
# File 'lib/vobject/vcalendar/propertyvalue.rb', line 414
def to_s
ret = "#{value[:lat]};#{value[:long]}"
ret
end
|