Class: RIO::ZipFile::Wrap::Stream::Output

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

Instance Method Summary collapse

Constructor Details

#initialize(zipstream) ⇒ Output

Returns a new instance of Output.



56
57
58
59
60
# File 'lib/rio/ext/zipfile/wrap.rb', line 56

def initialize(zipstream)
  @closed = false
  @zipstream = zipstream
  super
end

Instance Method Details

#closeObject



61
62
63
64
65
66
# File 'lib/rio/ext/zipfile/wrap.rb', line 61

def close()
  p "CLOSE: #{@zipstream.inspect}"
  #p self.__getobj__.methods.sort
  super
  @closed = true
end