method

reason_phrase

v1_9_3_125 - Show latest stable - Class: WEBrick::HTTPStatus
reason_phrase(code)
private

Returns the description corresponding to the HTTP status code

WEBrick::HTTPStatus.reason_phrase 404
=> "Not Found"