Module: DistanceSupport

Defined in:
lib/dm-geokit/support/distance_support.rb

Instance Method Summary collapse

Instance Method Details

#kmObject



7
8
9
# File 'lib/dm-geokit/support/distance_support.rb', line 7

def km
  DistanceMeasurement.new(self, :kms)
end

#miObject



3
4
5
# File 'lib/dm-geokit/support/distance_support.rb', line 3

def mi
  DistanceMeasurement.new(self, :miles)
end