vendor/bundle/ruby/2.7.0/gems/rubyzip-2.3.0/lib/zip/file.rb
# Same as #open. But outputs data to a buffer instead of a file
Same as #open. But outputs data to a buffer instead of a file
Same as #open . But outputs data to a buffer instead of a file
def add_buffer
        io = ::StringIO.new('')
        zf = ::Zip::File.new(io, true, true)
        yield zf
        zf.write_buffer(io)
      end
def add_buffer io = :: StringIO . new ( '' ) zf = :: Zip :: File . new ( io , true , true ) yield zf zf . write_buffer ( io ) end
Same as #open.
Same as #open .