method

[]

v1_9_3_392 - Show latest stable - Class: WEBrick::HTTPStatus
[](code)
public

Returns the status class corresponding to code

WEBrick::HTTPStatus[302]
=> WEBrick::HTTPStatus::NotFound