Exception: WebScraper::KeyDefentitionError

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#messageObject



82
83
84
# File 'lib/web_scraper.rb', line 82

def message
  'key should be a name of a defined property'
end