def chomp(sep = $/) "ruby\n".chomp #=> "ruby" end
Returns a new string with the trailing newline removed.
Parent class for success (2xx) HTTP response classes.
HTTP
A success response indicates the action requested by the client was received, understood, and accepted.
References:
RFC 9110.
Wikipedia.