Permalink
Browse files

bad

  • Loading branch information...
1 parent 3e8c43b commit 4aaf3eb2874fa8cf49b50a62556e602dd51d98ed @kristianmandrup committed Jun 11, 2011
Showing with 3 additions and 15 deletions.
  1. +3 −15 lib/geo_calc/geo_point.rb
@@ -98,21 +98,9 @@ def to_lng_lat
[lng, lat]
end
- def to_arr
- a = to_lat_lng
- reverse_arr? ? a.reverse : a
- end
-
- def reverse_arr?
- @reverse_arr
- end
-
- def reverse_arr!
- @reverse_arr = true
- end
-
- def normal_arr!
- @reverse_arr = false
+ def to_a
+ case
+ to_lat_lng
end
protected

0 comments on commit 4aaf3eb

Please sign in to comment.