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