class Ronin::Support::Archive::Zip::Reader::Statistics

Represents the overall statistics for the zip archive.

Attributes

compression[R]

The total compression ratio of the zip archive.

@return [Integer]

files[R]

The total number of files in the zip archive.

@return [Integer]

length[R]

The total zip archive length.

@return [Integer]

size[R]

The total zip archive size.

@return [Integer]

Public Class Methods

new(length: , size: , compression: , files: ) click to toggle source

Initializes the statistics object.

@param [Integer] length

@param [Integer] size

@param [Integer] compression

@param [Integer] files

@api private

# File lib/ronin/support/archive/zip/reader/statistics.rb, line 64
def initialize(length: , size: , compression: , files: )
  @length      = length
  @size        = size
  @compression = compression
  @files       = files
end