123456789_123456789_123456789_123456789_123456789_

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
  • Object
Defined in: lib/webrick/httpstatus.rb

Overview

Root of the HTTP status class hierarchy

Instance Method Summary

Instance Method Details

#code Also known as: #to_i

Returns the HTTP status code

[ GitHub ]

  
# File 'lib/webrick/httpstatus.rb', line 31

def code() self::class::code end

#reason_phrase

Returns the HTTP status description

[ GitHub ]

  
# File 'lib/webrick/httpstatus.rb', line 34

def reason_phrase() self::class::reason_phrase end