Merge pull request #203 from barnash/patch-1
Fixed typo in README example
This commit is contained in:
commit
deeefa1b1a
|
|
@ -98,7 +98,7 @@ class ZipFileGenerator
|
|||
if File.directory?(diskFilePath)
|
||||
io.mkdir(zipFilePath)
|
||||
subdir =Dir.entries(diskFilePath); subdir.delete("."); subdir.delete("..")
|
||||
riteEntries(subdir, zipFilePath, io)
|
||||
writeEntries(subdir, zipFilePath, io)
|
||||
else
|
||||
io.get_output_stream(zipFilePath) { |f| f.puts(File.open(diskFilePath, "rb").read())}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue