def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Subclass of Zlib::Error when zlib returns a Z_BUF_ERROR.
Zlib::Error
Usually if no progress is possible.