Method: Zip::ZipFile#get_input_stream

Defined in:
lib/zip/zip.rb

#get_input_stream(entry, &aProc) ⇒ Object

Returns an input stream to the specified entry. If a block is passed the stream object is passed to the block and the stream is automatically closed afterwards just as with ruby’s builtin File.open method.



1415
1416
1417
# File 'lib/zip/zip.rb', line 1415

def get_input_stream(entry, &aProc)
  get_entry(entry).get_input_stream(&aProc)
end