lib/graticule/distance.rb in graticule-2.0.1 vs lib/graticule/distance.rb in graticule-2.1.0

- old
+ new

@@ -1,16 +1,17 @@ +# encoding: UTF-8 module Graticule module Distance - + EARTH_RADIUS = { :kilometers => 6378.135, :miles => 3963.1676 } # WGS-84 numbers EARTH_MAJOR_AXIS_RADIUS = { :kilometers => 6378.137, :miles => 3963.19059 } EARTH_MINOR_AXIS_RADIUS = { :kilometers => 6356.7523142, :miles => 3949.90276 } class DistanceFormula include Math extend Math - + def initialize raise NotImplementedError end end end