method

new

v1_8_7_330 - Show latest stable - Class: Zlib::GzipWriter
new(...)
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.