Class: Zip::PassThruCompressor
- Inherits:
-
Compressor
- Object
- Compressor
- Zip::PassThruCompressor
- Defined in:
- lib/zip/zip.rb
Overview
:nodoc:all
Instance Attribute Summary collapse
-
#crc ⇒ Object
readonly
Returns the value of attribute crc.
-
#size ⇒ Object
readonly
Returns the value of attribute size.
Instance Method Summary collapse
- #<<(data) ⇒ Object
-
#initialize(outputStream) ⇒ PassThruCompressor
constructor
A new instance of PassThruCompressor.
Methods inherited from Compressor
Constructor Details
#initialize(outputStream) ⇒ PassThruCompressor
Returns a new instance of PassThruCompressor.
1048 1049 1050 1051 1052 1053 |
# File 'lib/zip/zip.rb', line 1048 def initialize(outputStream) super() @outputStream = outputStream @crc = Zlib::crc32 @size = 0 end |