httpd

httpd() Instance Public methods Run WEBrick HTTP server. ruby -run -e httpd -- [OPTION] DocumentRoot --bind-address=ADDR address to bind --port=NUM listening port number --max-clients=MAX max number of simultaneous clients --temp-dir=DIR temporary directory --do-not-reverse-lookup disable reverse lookup --request-timeout=SECOND request timeout in seconds --http-version=VERSION HTTP version -v verb

new

new(options = {}) Class Public methods Creates a new installer instance. Options are: :cache_dir Alternate repository path to store .gem files in. :domain :local, :remote, or :both. :local only searches gems in the current directory. :remote searches only gems in Gem.sources. :both searches both. :env_shebang See Gem::Installer.new. :force See Gem::Installer#install. :format_executable See Gem::Installer#initialize. :ignore_dependencies Don't install any dependen

add_rakelib

add_rakelib(*files) Class Public methods Add files to the rakelib list

new

new(*args) Class Public methods

string_type=

string_type=(val) Instance Public methods Alias for: set_string_type

new

Class.new(super_class=Object) â a_classClass.new(super_class=Object) { |mod| ... } â a_class Class Public methods Creates a new anonymous (unnamed) class with the given superclass (or Object if no parameter is given). You can give a class a name by assigning the class object to a constant. If a block is given, it is passed the class object, and the block is evaluated in the context of this class using class_eval. fred = Class.new do def meth1 "hello" end de

succ

str.succ â new_str Instance Public methods Returns the successor to str. The successor is calculated by incrementing characters starting from the rightmost alphanumeric (or the rightmost character if there are no alphanumerics) in the string. Incrementing a digit always results in another digit, and incrementing a letter results in another letter of the same case. Incrementing nonalphanumerics uses the underlying character set's collating sequence. If the increment generates a âc

inline_html?

inline_html?() Instance Public methods

new 2

new(address, port = nil) Class Public methods Creates a new Net::HTTP object for the specified server address, without opening the TCP connection or initializing the HTTP session. The address should be a DNS hostname or IP address.

utc_offset

utc_offset() Instance Public methods Returns the offset value in seconds.