Exception: FilterRename::ExistingFile
- Inherits:
-
StandardError
- Object
- StandardError
- FilterRename::ExistingFile
- Defined in:
- lib/filter_rename/utils.rb
Instance Method Summary collapse
-
#initialize(filename) ⇒ ExistingFile
constructor
A new instance of ExistingFile.
Constructor Details
#initialize(filename) ⇒ ExistingFile
Returns a new instance of ExistingFile.
296 297 298 |
# File 'lib/filter_rename/utils.rb', line 296 def initialize(filename) super "The file #{filename} already exists and won't be overwrite" end |