Class: RIO::ZipFile::Wrap::Stream::Input

Inherits:
Zip::ZipInputStream
  • Object
show all
Defined in:
lib/rio/ext/zipfile/wrap.rb

Instance Method Summary collapse

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

#closeObject



38
39
40
41
# File 'lib/rio/ext/zipfile/wrap.rb', line 38

def close()
  super
  @closed = true
end

#closed?Boolean

Returns:

  • (Boolean)


42
# File 'lib/rio/ext/zipfile/wrap.rb', line 42

def closed?() @closed end