From d5e62b26f7a3613195ce562c89bf7d4b636a2fa0 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Thu, 24 Mar 2011 19:36:43 -0400 Subject: [PATCH] Move comment to more relevant position. --- lib/geocoder/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/geocoder/calculations.rb b/lib/geocoder/calculations.rb index f4dd7a42..9073135a 100644 --- a/lib/geocoder/calculations.rb +++ b/lib/geocoder/calculations.rb @@ -12,6 +12,7 @@ module Geocoder ## # Radius of the Earth, in kilometers. + # Value taken from: http://en.wikipedia.org/wiki/Earth_radius # EARTH_RADIUS = 6371.0 @@ -159,7 +160,6 @@ module Geocoder ## # Radius of the Earth in the given units (:mi or :km). Default is :mi. - # Values taken from: http://en.wikipedia.org/wiki/Earth_radius # def earth_radius(units = :mi) in_km = EARTH_RADIUS -- GitLab