class ProxyFetcher::Exceptions::BlankAdapter
Exception for cases when user tries to set nil
HTML parser adapter in the configuration (or just forget to change it).
Public Class Methods
new(*)
click to toggle source
Initialize new exception
@return [BlankAdapter]
Calls superclass method
# File lib/proxy_fetcher/exceptions.rb, line 94 def initialize(*) super(<<-MSG.strip.squeeze you need to specify adapter for HTML parsing: ProxyFetcher.config.adapter = :nokogiri. You can use one of the predefined adapters (:nokogiri or :oga) or your own implementation. MSG ) end