Exception: WebScraper::BaseDefentitionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/web_scraper.rb

Overview

The error raises when a user tries to define base improperly.

Instance Method Summary collapse

Instance Method Details

#messageObject



65
66
67
# File 'lib/web_scraper.rb', line 65

def message
  'base should be a selector (:css|:xpath => String)'
end