class Object
Public Instance Methods
configured_provider()
click to toggle source
# File lib/geolocal/tasks.rb, line 4 def configured_provider # we use this file by default config='config/geolocal' # but you can specify the config file on the command line: # `rake geolocal config=contrib/continents` config=ENV['config'] if ENV['config'] require './' + config Geolocal.configuration.load_provider.new end