Exception: WebScraper::PropertyDefentitionError

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#messageObject



73
74
75
76
# File 'lib/web_scraper.rb', line 73

def message
  'property is a name (with type optionally) ' +
  'and a selector (:css|:xpath => String)'
end