def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Zlib::Deflate is the class for compressing data. See Zlib::ZStream for more information.
Zlib::Deflate
Zlib::ZStream