tags:

views:

60

answers:

1

Is anybody aware of a open source Ruby library that allows the user to process zip file entries in memory? i.e. without writing them to disk

+2  A: 

Hi I'm using rubyzip library. You can do something like this:

Zip::ZipFile.foreach(file) do |entry|
    istream = entry.get_input_stream
    data = istream.read
    #...
end
pejuko