def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Parent class for server error (5xx) HTTP response classes.
HTTP
A server error response indicates that the server failed to fulfill a request.
References:
RFC 9110.
Wikipedia.