Method: Geocoder::Calculations#mi_in_km
- Defined in:
- lib/geocoder/calculations.rb
#mi_in_km ⇒ Object
Conversion factor: mi to km.
378 379 380 381 |
# File 'lib/geocoder/calculations.rb', line 378 def mi_in_km Geocoder.log(:warn, "DEPRECATION WARNING: Geocoder::Calculations.mi_in_km is deprecated and will be removed in Geocoder 1.5.0. Please use 1.0 / KM_IN_MI instead.") 1.0 / KM_IN_MI end |