Class: RIO::ZipFile::Wrap::Stream::Output
- Inherits:
-
Zip::ZipOutputStream
- Object
- Zip::ZipOutputStream
- RIO::ZipFile::Wrap::Stream::Output
- Defined in:
- lib/rio/ext/zipfile/wrap.rb
Instance Method Summary collapse
- #close ⇒ Object
-
#initialize(zipstream) ⇒ Output
constructor
A new instance of Output.
Constructor Details
#initialize(zipstream) ⇒ Output
Returns a new instance of Output.
56 57 58 59 60 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 56 def initialize(zipstream) @closed = false @zipstream = zipstream super end |
Instance Method Details
#close ⇒ Object
61 62 63 64 65 66 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 61 def close() p "CLOSE: #{@zipstream.inspect}" #p self.__getobj__.methods.sort super @closed = true end |