Results for: "tally"

A null NameTuple, ie name=nil, version=0

Creates a new package that will read or write to the file gem.

No documentation available
No documentation available

Executables included in the gem.

For example, the rake gem has rake as an executable. You don’t specify the full path (as in bin/rake); all application-style files are expected to be found in bindir. These files must be executable Ruby files. Files that use bash or other interpreters will not work.

Executables included may only be ruby scripts, not scripts for other languages or compiled binaries.

Usage:

spec.executables << 'rake'

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
Search took: 5ms  ·  Total Results: 1245