Results for: "tally"

Singular accessor for executables

Singular accessor for executables

Sets executables to value, ensuring it is an array. Don’t use this, push onto the array instead.

Normalize the list of files so that:

Checks that the specification contains all required fields, and does a very basic sanity check.

Raises InvalidSpecificationException if the spec does not pass the checks..

Normalize the URI by adding “http://” if it is missing.

Display an informational alert. Will ask question if it is not nil.

Checks the gem directory for the following potential inconsistencies/problems:

returns a hash of ErrorData objects, keyed on the problem gem’s name.

No documentation available
No documentation available
No documentation available

Checks if URI has a path

Returns normalized URI

Destructive version of normalize

Checks if URI has a path For URI::LDAP this will return false

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

Sets the response’s status to the status code

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

Converts a Ruby object into a XML-RPC <value> tag

No documentation available

Returns an array of values from the database.

Returns true if stat terminated because of an uncaught signal.

Returns the least significant eight bits of the return code of stat. Only available if exited? is true.

fork { }           #=> 26572
Process.wait       #=> 26572
$?.exited?         #=> true
$?.exitstatus      #=> 0

fork { exit 99 }   #=> 26573
Process.wait       #=> 26573
$?.exited?         #=> true
$?.exitstatus      #=> 99
Search took: 3ms  ·  Total Results: 1266