Class: ProxyFetcher::Exceptions::BlankAdapter
- Inherits:
-
ProxyFetcher::Error
- Object
- ProxyFetcher::Exceptions::BlankAdapter
- Defined in:
- lib/proxy_fetcher/exceptions.rb
Instance Method Summary collapse
-
#initialize ⇒ BlankAdapter
constructor
A new instance of BlankAdapter.
Constructor Details
#initialize ⇒ BlankAdapter
Returns a new instance of BlankAdapter.
43 44 45 46 47 48 49 |
# File 'lib/proxy_fetcher/exceptions.rb', line 43 def initialize(*) super(" you need to specify adapter for HTML parsing: ProxyFetcher.config.adapter = :nokogiri.\n You can use one of the predefined adapters (:nokogiri or :oga) or your own implementation.\n MSG\n )\nend\n".strip.squeeze |