Exception: SimpleImagesDownloader::Errors::BadUrl
- Defined in:
- lib/simple_images_downloader/errors.rb
Instance Method Summary collapse
-
#initialize(url) ⇒ BadUrl
constructor
A new instance of BadUrl.
Constructor Details
#initialize(url) ⇒ BadUrl
Returns a new instance of BadUrl.
25 26 27 28 |
# File 'lib/simple_images_downloader/errors.rb', line 25 def initialize(url) = "The is not valid URL #{url}" super() end |