Results for: "OptionParser"

Returns filter.

Setter for filter val.

Starts the CGI process with the given environment env and standard input and output stdin and stdout.

Request query as a Hash

Closes the logger (also closes the log device associated to the logger)

Shortcut for logging an ERROR message

Shortcut for logging a WARN message

Will the logger output ERROR messages?

Will the logger output WARN messages?

A SimpleServer only yields when you start it

Performs the standard operations for daemonizing a process. Runs a block, if given.

Starts the server and runs the block for each connection. This method does not return until the server is stopped from a signal handler or another thread using stop or shutdown.

If the block raises a subclass of StandardError the exception is logged and ignored. If an IOError or Errno::EBADF exception is raised the exception is ignored. If an Exception subclass is raised the exception is logged and re-raised which stops the server.

To completely shut down a server call shutdown from ensure:

server = WEBrick::GenericServer.new
# or WEBrick::HTTPServer.new

begin
  server.start
ensure
  server.shutdown
end

Stops the server from accepting new connections.

Returns a Hash (not a DBM database) created by using each value in the database as a key, with the corresponding key as its value.

Note that all values in the hash will be Strings, but the keys will be actual objects.

If a block is provided, returns a new array containing [key, value] pairs for which the block returns true.

Otherwise, same as values_at

Returns true if this process is stopped. This is only returned if the corresponding wait call had the WUNTRACED flag set.

Returns the number of the signal that caused stat to stop (or nil if self is not stopped).

Returns the number of the signal that caused stat to terminate (or nil if self was not terminated by an uncaught signal).

Resets the digest to the initial state and returns self.

This method is overridden by each implementation subclass.

If none is given, returns the resulting hash value of the digest in a base64 encoded form, keeping the digest’s state.

If a string is given, returns the hash value for the given string in a base64 encoded form, resetting the digest to the initial state before and after the process.

In either case, the return value is properly padded with ‘=’ and contains no line feeds.

Returns the resulting hash value and resets the digest to the initial state.

No documentation available

Creates a global method from the given C signature.

The Fiddle::CompositeHandler instance

Will raise an error if no handlers are open.

See IO#getpass.

Search took: 12ms  ·  Total Results: 4416