Sha256: 52ad21177f9860c9ba8228993bfa0d3d18806fcde99275181a887a5dc9463328
Contents?: true
Size: 252 Bytes
Versions: 111
Compression:
Stored size: 252 Bytes
Contents
require 'zlib' module Skylight module Util module Gzip def self.compress(str) output = StringIO.new gz = Zlib::GzipWriter.new(output) gz.write(str) gz.close output.string end end end end
Version data entries
111 entries across 111 versions & 2 rubygems