method

new

v1_9_3_125 - Show latest stable - Class: Zlib::GzipWriter
new(p1, p2 = v2, p3 = v3)
public

Creates a GzipWriter object associated with io. level and strategy should be the same as the arguments of Zlib::Deflate.new. The GzipWriter object writes gzipped data to io. At least, io must respond to the write method that behaves same as write method in IO class.