kernelsmith
10/15/2014 - 8:38 PM

unzip.rb

require 'zip'
source_file = "blah.zip"
string = File.binread(source_file)
Zip::File.open_buffer(string) do |entries|
  entries.each {|entry| puts entry.name }
end