class SynonymScrapper::DictionaryNotAvailable

Exception thrown when a wrong dicitonary name is used.

Public Class Methods

new(dictionary = "") click to toggle source
Calls superclass method
# File lib/synonym_scrapper.rb, line 18
def initialize(dictionary = "")
  msg = "The dictionary named #{dictionary.to_s} does not exist in the available dictionaries list"
  super msg
end