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 The GzipWriter object writes gzipped data to io. io must respond to the write method that behaves the same as IO#write.

The options hash may be used to set the encoding of the data. :external_encoding, :internal_encoding and :encoding may be set as in IO::new.

Show source
Register or log in to add new notes.