We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33c07a commit 66324a7Copy full SHA for 66324a7
1 file changed
lib/zip/file.rb
@@ -362,7 +362,6 @@ def commit
362
363
# Write buffer write changes to buffer and return
364
def write_buffer(io = ::StringIO.new(''))
365
- io.binmode if io.respond_to?(:binmode)
366
::Zip::OutputStream.write_buffer(io) do |zos|
367
@entry_set.each { |e| e.write_to_zip_output_stream(zos) }
368
zos.comment = comment
0 commit comments