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.
45 46 47 48 49 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 45 def initialize(zipstream) @closed = false @zipstream = zipstream super end |
Instance Method Details
#close ⇒ Object
50 51 52 53 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 50 def close() super @closed = true end |