From c34ac4d4c21f671653383c7a1797e086897e08c5 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Wed, 29 Aug 2012 18:50:41 -0700 Subject: [PATCH] Remove link to ziprequire. See #51 --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 14087a2..468e59e 100644 --- a/README.md +++ b/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.