Skip to content
Snippets Groups Projects
Commit f804322d authored by Ben Woosley's avatar Ben Woosley
Browse files

One more method-level rescue

parent 884d5111
No related branches found
No related tags found
No related merge requests found
......@@ -44,11 +44,9 @@ module Geocoder
end
def geocoder_initialized?
begin
included_modules.include? Geocoder::Store.const_get(geocoder_module_name)
rescue NameError
false
end
included_modules.include? Geocoder::Store.const_get(geocoder_module_name)
rescue NameError
false
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment