Upgrade Vendored rubyzip to Version 0.9.3
This commit is contained in:
parent
7c51accaab
commit
1d32d45944
34 changed files with 247 additions and 36 deletions
13
vendor/plugins/rubyzip/samples/write_simple.rb
vendored
Executable file
13
vendor/plugins/rubyzip/samples/write_simple.rb
vendored
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
$: << "../lib"
|
||||
|
||||
require 'zip/zip'
|
||||
|
||||
include Zip
|
||||
|
||||
ZipOutputStream.open('simple.zip') {
|
||||
|zos|
|
||||
ze = zos.put_next_entry 'entry.txt'
|
||||
zos.puts "Hello world"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue