Merge pull request #210 from darinkes/patch-1
Readme: Print data instead of puts
This commit is contained in:
		
						commit
						9d68b67341
					
				|  | @ -100,7 +100,7 @@ class ZipFileGenerator | |||
|         subdir =Dir.entries(diskFilePath); subdir.delete("."); subdir.delete("..") | ||||
|         writeEntries(subdir, zipFilePath, io) | ||||
|       else | ||||
|         io.get_output_stream(zipFilePath) { |f| f.puts(File.open(diskFilePath, "rb").read())} | ||||
|         io.get_output_stream(zipFilePath) { |f| f.print(File.open(diskFilePath, "rb").read())} | ||||
|       end | ||||
|     } | ||||
|   end | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue