Exception: WhereTo::NoFilesError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/where_to/error/no_files_error.rb

Instance Method Summary collapse

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