module Geocoder::Calculations

def extract_coordinates(point)


running method and may return nil.
[lat,lon] array. Note that if a string is passed this may be a slow-
or an object that implements +to_coordinates+ and returns a
Takes an object which is a [lat,lon] array, a geocodable string,
#
def extract_coordinates(point)
  case point
    when Array; point
    when String; Geocoder.coordinates(point)
    else point.to_coordinates
  end
end