class Zip::EntryNameError
Error raised when an entry name is invalid.
Public Class Methods
Source
# File lib/zip/errors.rb, line 79 def initialize(name = nil) super() @name = name end
Create a new EntryNameError with the specified name.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 85 def message if @name.nil? 'Illegal entry name. Names must have fewer than 65,536 characters.' else "Illegal entry name '#{@name}'. Names must not start with '/'." end end
The message returned by this error.