-
-
Save wolfedale/e17e72de57013f2fdf52 to your computer and use it in GitHub Desktop.
unzip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'zip' | |
Zip.on_exists_proc = true | |
Zip::File.open("Bull and Gate.docx") do |zip_file| | |
zip_file.each do |entry| | |
p entry.name | |
entry.extract(entry.name) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment