Remove link to ziprequire. See #51
This commit is contained in:
parent
a5b002ca02
commit
c34ac4d4c2
10
README.md
10
README.md
|
|
@ -22,12 +22,12 @@ gem 'rubyzip'
|
|||
```ruby
|
||||
require 'rubygems'
|
||||
require 'zip/zip'
|
||||
|
||||
|
||||
folder = "Users/me/Desktop/stuff_to_zip"
|
||||
input_filenames = ['image.jpg', 'description.txt', 'stats.csv']
|
||||
|
||||
|
||||
zipfile_name = "/Users/me/Desktop/archive.zip"
|
||||
|
||||
|
||||
Zip::ZipFile.open(zipfile_name, Zip::ZipFile::CREATE) do |zipfile|
|
||||
input_filenames.each do |filename|
|
||||
# Two arguments:
|
||||
|
|
@ -59,10 +59,6 @@ Zip::ZipFileSystem API. Using this API files can be read from and
|
|||
written to the archive in much the same manner as ruby's builtin
|
||||
classes allows files to be read from and written to the file system.
|
||||
|
||||
rubyzip also features the
|
||||
zip/ziprequire.rb[link:files/lib/zip/ziprequire_rb.html] module which
|
||||
allows ruby to load ruby modules from zip archives.
|
||||
|
||||
For details about the specific behaviour of classes and methods refer
|
||||
to the test suite. Finally you can generate the rdoc documentation or
|
||||
visit http://rubyzip.sourceforge.net.
|
||||
|
|
|
|||
Loading…
Reference in New Issue