Same as #open. But outputs data to a buffer instead of a file
Yields:
109 110 111 112 113 114
# File 'lib/zip/file.rb', line 109 def add_buffer io = ::StringIO.new('') zf = ::Zip::File.new(io, true, true) yield zf zf.write_buffer(io) end