Skip to content

Commit

Permalink
Merge pull request #203 from barnash/patch-1
Browse files Browse the repository at this point in the history
Fixed typo in README example
  • Loading branch information
simonoff committed Dec 25, 2014
2 parents e938438 + 5343780 commit deeefa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit deeefa1

Please sign in to comment.