def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Parent class for redirection (3xx) HTTP response classes.
HTTP
A redirection response indicates the client must take additional action to complete the request.
References:
RFC 9110.
Wikipedia.