Module: Utils (WEBrick)

Overview
Module Structure
Class Hierarchy
Constants
Utils::RAND_CHARS
Module Functions
Utils.create_self_signed_cert / 3
Utils.set_non_blocking / 1
Utils.set_close_on_exec / 1
Utils.su / 1
Utils.getservername
Utils.create_listeners / 3
Utils.random_string / 1
is a submodule of
module: WEBrick   
has modular siblings
class: ServerError   
class: SimpleServer   
class: Daemon   
class: GenericServer   
class: HTTPServerError   
class: HTTPServer   
module: HTTPServlet   
class: HTTPRequest   
class: HTTPResponse   
module: HTTPStatus   
module: HTTPUtils   
class: HTTPVersion   
module: HTTPAuth   
module: Config   
class: CGI   
class: Cookie   
module: HTMLUtils   
class: HTTPProxyServer   
class: BasicLog   
class: Log   
module: AccessLog   
has properties
function: create_self_signed_cert / 3   
function: set_non_blocking / 1   
function: set_close_on_exec / 1   
function: su / 1   
function: getservername   
function: create_listeners / 3   
constant: RAND_CHARS   
function: random_string / 1   
is defined at
#38 in webrick/ssl.rb  
#20 in webrick/utils.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: WEBrick
class: ServerError     
class: SimpleServer     
class: Daemon     
class: GenericServer     
class: HTTPServerError     
class: HTTPServer     
module: HTTPServlet     
class: HTTPRequest     
class: HTTPResponse     
module: HTTPStatus     
module: HTTPUtils     
class: HTTPVersion     
module: HTTPAuth     
module: Config     
module: Utils     
class: CGI     
class: Cookie     
module: HTMLUtils     
class: HTTPProxyServer     
class: BasicLog     
class: Log     
module: AccessLog     

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
SimpleServer ( WEBrick )
Daemon ( WEBrick )
GenericServer ( WEBrick )
HTTPServer ( WEBrick )
  HTTPProxyServer     
HTTPRequest ( WEBrick )
HTTPResponse ( WEBrick )
HTTPVersion ( WEBrick )
CGI ( WEBrick )
Cookie ( WEBrick )
BasicLog ( WEBrick )
  Log     

Constants

Utils::RAND_CHARS

#87 in webrick/utils.rb

RAND_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" +   

Module Functions

Utils.create_self_signed_cert / 3

#39 in webrick/ssl.rb

create_self_signed_cert ( bits ,
  cn ,
  comment )

Utils.set_non_blocking / 1

#21 in webrick/utils.rb

set_non_blocking ( io )

Utils.set_close_on_exec / 1

#30 in webrick/utils.rb

set_close_on_exec ( io )

Utils.su / 1

#37 in webrick/utils.rb

su ( user )

Utils.getservername

#49 in webrick/utils.rb

getservername

Utils.create_listeners / 3

#59 in webrick/utils.rb

create_listeners ( address ,
  port ,
  logger=nil )

Utils.random_string / 1

#91 in webrick/utils.rb

random_string ( len )