class Zip::DestinationExistsError
Error raised when trying to extract an archive entry over an existing file.
Public Class Methods
Source
# File lib/zip/errors.rb, line 48 def initialize(destination) super() @destination = destination end
Create a new DestinationExistsError with the clashing destination.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 54 def message "Cannot create file or directory '#{@destination}'. " \ 'A file already exists with that name.' end
The message returned by this error.