Exception: WhereTo::NoFilesError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- WhereTo::NoFilesError
- Defined in:
- lib/where_to/error/no_files_error.rb
Instance Method Summary collapse
-
#initialize(extension, location) ⇒ NoFilesError
constructor
A new instance of NoFilesError.
Constructor Details
#initialize(extension, location) ⇒ NoFilesError
Returns a new instance of NoFilesError.
3 4 5 |
# File 'lib/where_to/error/no_files_error.rb', line 3 def initialize(extension, location) super("I couldn't find any files with the extension #{extension} in #{location}") end |