lib/vpim/property/location.rb in vpim-0.323 vs lib/vpim/property/location.rb in vpim-0.357
- old
+ new
@@ -1,5 +1,13 @@
+=begin
+ Copyright (C) 2006 Sam Roberts
+
+ This library is free software; you can redistribute it and/or modify it
+ under the same terms as the ruby language itself, see the file COPYING for
+ details.
+=end
+
module Vpim
class Icalendar
module Property
module Location
# Physical location information relevant to the component, or nil if
@@ -8,10 +16,11 @@
proptext 'LOCATION'
end
# Array of Float, +[ latitude, longitude]+.
#
- # North or equator is postive latitude, East of meridian is positive logitude.
+ # North of the equator is positive latitude, east of the meridian is
+ # positive longitude.
#
# See RFC2445 for more info... there are lots of special cases.
def geo
prop = @properties.detect { |f| f.name? 'GEO' }
if prop