def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Parent class for client error (4xx) HTTP response classes.
HTTP
A client error response indicates that the client may have caused an error.
References:
RFC 9110.
Wikipedia.