Method: Geocoder::Calculations#nm_in_km
- Defined in:
- lib/geocoder/calculations.rb
#nm_in_km ⇒ Object
Conversion factor: nm to km.
386 387 388 389 |
# File 'lib/geocoder/calculations.rb', line 386 def nm_in_km Geocoder.log(:warn, "DEPRECATION WARNING: Geocoder::Calculations.nm_in_km is deprecated and will be removed in Geocoder 1.5.0. Please use 1.0 / KM_IN_NM instead.") 1.0 / KM_IN_NM end |