method

status=

ruby latest stable - Class: WEBrick::HTTPResponse
status=(status)
public

Sets the response’s status to the status code