Skip to content

Instantly share code, notes, and snippets.

@jonahoffline
Created December 26, 2012 16:43
Show Gist options
  • Save jonahoffline/4381355 to your computer and use it in GitHub Desktop.
Save jonahoffline/4381355 to your computer and use it in GitHub Desktop.
Example use of the 'geocoder' gem.
require 'geocoder'
class Locator
def search(address)
Geocoder::coordinates(address)
end
end
#Locator.new.search('san juan, pr')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment