class Zip::EntrySizeError
Error raised if an entry is larger on extraction than it is advertised to be.
Attributes
The entry that has caused this error.
Public Class Methods
Source
# File lib/zip/errors.rb, line 101 def initialize(entry) super() @entry = entry end
Create a new EntrySizeError with the specified entry.
Calls superclass method
Public Instance Methods
Source
# File lib/zip/errors.rb, line 107 def message "Entry '#{@entry.name}' should be #{@entry.size}B, but is larger when inflated." end
The message returned by this error.