# File lib/rubygems/test_case.rb, line 546 def util_gzip(data) out = StringIO.new Zlib::GzipWriter.wrap out do |io| io.write data end out.string end