Parent

Class/Module Index [+]

Quicksearch

WEBrick::HTTPStatus::Status

Attributes

code[R]
reason_phrase[R]

Public Class Methods

new(*args) click to toggle source
                
# File webrick/httpstatus.rb, line 16
def initialize(*args)
  args[0] = AccessLog.escape(args[0]) unless args.empty?
  super(*args)
end

Public Instance Methods

code() click to toggle source
                
# File webrick/httpstatus.rb, line 23
def code() self::class::code end
Also aliased as: to_i
reason_phrase() click to toggle source
                
# File webrick/httpstatus.rb, line 24
def reason_phrase() self::class::reason_phrase end
to_i() click to toggle source
Alias for: code
blog comments powered by Disqus