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

Rename method for consistency (use separate words).

parent d80dbf60
No related branches found
No related tags found
No related merge requests found
......@@ -271,7 +271,7 @@ module Geocoder
##
# Convert kilometers to nautical miles.
#
def to_nauticalmiles(km)
def to_nautical_miles(km)
km * km_in_nm
end
......@@ -287,7 +287,7 @@ module Geocoder
when :mi
to_miles(EARTH_RADIUS)
when :nm
to_nauticalmiles(EARTH_RADIUS)
to_nautical_miles(EARTH_RADIUS)
end
end
......
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