Class: RIO::ZipFile::Wrap::Stream::Input
- Defined in:
- lib/rio/ext/zipfile/wrap.rb
Instance Method Summary collapse
- #close ⇒ Object
- #closed? ⇒ Boolean
-
#initialize(zipstream) ⇒ Input
constructor
A new instance of Input.
Constructor Details
#initialize(zipstream) ⇒ Input
Returns a new instance of Input.
34 35 36 37 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 34 def initialize(zipstream) @closed = false super end |
Instance Method Details
#close ⇒ Object
38 39 40 41 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 38 def close() super @closed = true end |
#closed? ⇒ Boolean
42 |
# File 'lib/rio/ext/zipfile/wrap.rb', line 42 def closed?() @closed end |