Exception: FilterRename::ExistingFile

Inherits:
StandardError
  • Object
show all
Defined in:
lib/filter_rename/utils.rb

Overview

Existing file error.

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ ExistingFile

Returns a new instance of ExistingFile.



465
466
467
# File 'lib/filter_rename/utils.rb', line 465

def initialize(filename)
  super("The file #{filename} already exists and won't be overwrite")
end