class WEBrick::HTTPStatus::Status
Root of the HTTP status class hierarchy
Root of the HTTP status class hierarchy
Attributes
Public Instance Methods
# File vendor/bundle/ruby/4.0.0/gems/webrick-1.9.2/lib/webrick/httpstatus.rb, line 31 def code() self::class::code end
Returns the HTTP status code
Returns the HTTP status code
Also aliased as: to_i
() → String
Source
# File vendor/bundle/ruby/4.0.0/gems/webrick-1.9.2/lib/webrick/httpstatus.rb, line 34 def reason_phrase() self::class::reason_phrase end
Returns the HTTP status description
Returns the HTTP status description