def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Generic Exception class that is raised if an error occurs during a Digest operation.
Exception
Digest