diff --git a/lib/geocoder/calculations.rb b/lib/geocoder/calculations.rb index f4dd7a42b232baed02af3f064e3d0d340d2ed6e4..9073135a2eeedc5a0b38a8a3c1b4d805bf77a9b4 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