Exception: WEBrick::HTTPStatus::Status
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
StandardError
|
|
Instance Chain:
self,
StandardError
|
|
Inherits: |
StandardError
|
Defined in: | lib/webrick/httpstatus.rb |
Overview
Root of the HTTP status class hierarchy
Instance Method Summary
-
#code
(also: #to_i)
Returns the HTTP status code.
-
#reason_phrase
Returns the HTTP status description.
Instance Method Details
#code Also known as: #to_i
Returns the HTTP status code
# File 'lib/webrick/httpstatus.rb', line 31
def code() self::class::code end
#reason_phrase
Returns the HTTP status description
# File 'lib/webrick/httpstatus.rb', line 34
def reason_phrase() self::class::reason_phrase end