Method: Zip::ZipFile#get_input_stream
- Defined in:
- lib/pik/contrib/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.
1409 1410 1411 |
# File 'lib/pik/contrib/zip/zip.rb', line 1409 def get_input_stream(entry, &aProc) get_entry(entry).get_input_stream(&aProc) end |