Skip to content
Snippets Groups Projects
Commit d5e62b26 authored by Alex Reisner's avatar Alex Reisner
Browse files

Move comment to more relevant position.

parent f482423b
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ module Geocoder ...@@ -12,6 +12,7 @@ module Geocoder
## ##
# Radius of the Earth, in kilometers. # Radius of the Earth, in kilometers.
# Value taken from: http://en.wikipedia.org/wiki/Earth_radius
# #
EARTH_RADIUS = 6371.0 EARTH_RADIUS = 6371.0
...@@ -159,7 +160,6 @@ module Geocoder ...@@ -159,7 +160,6 @@ module Geocoder
## ##
# Radius of the Earth in the given units (:mi or :km). Default is :mi. # 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) def earth_radius(units = :mi)
in_km = EARTH_RADIUS in_km = EARTH_RADIUS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment