module Geocoder::Calculations
def to_miles(km)
Convert kilometers to miles.
#
def to_miles(km) Geocoder.log(:warn, "DEPRECATION WARNING: Geocoder::Calculations.to_miles is deprecated and will be removed in Geocoder 1.5.0. Please multiply by KM_IN_MI instead.") km * KM_IN_MI end