Class WEBrick::HTTPStatus::Status
In: lib/webrick/httpstatus.rb
Parent: StandardError

Methods

code   new   reason_phrase   to_i  

Attributes

code  [R] 
reason_phrase  [R] 

Public Class methods

[Source]

    # File lib/webrick/httpstatus.rb, line 16
16:       def initialize(message=self.class, *rest)
17:         super(AccessLog.escape(message), *rest)
18:       end

Public Instance methods

[Source]

    # File lib/webrick/httpstatus.rb, line 22
22:       def code() self::class::code end

[Source]

    # File lib/webrick/httpstatus.rb, line 23
23:       def reason_phrase() self::class::reason_phrase end
to_i()

Alias for code

[Validate]