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.



45
46
47
48
# File 'lib/rio/ext/zipfile/wrap.rb', line 45

def initialize(zipstream)
  @closed = false
  super
end

Instance Method Details

#closeObject



49
50
51
52
# File 'lib/rio/ext/zipfile/wrap.rb', line 49

def close()
  super
  @closed = true
end

#closed?Boolean

Returns:

  • (Boolean)


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

def closed?() @closed end