Generates a random prime number of bit length bits. If safe is set to true
, generates a safe prime. If add is specified, generates a prime that fulfills condition p % add = rem
.
Returns the X.509 certificates the server presented.
Returns a DRb::DRbSSLSocket
instance as a server-side connection, with the SSL connected. This is called from DRb::start_service
or while connecting to a remote object:
DRb.start_service 'drbssl://localhost:0', front, config
uri
is the URI
we are connected to, 'drbssl://localhost:0'
above, config
is our configuration. Either a Hash
or DRb::DRbSSLSocket::SSLConfig
Inserts an child after another child @param child1 this is either an xpath or an Element
. If an Element
, child2 will be inserted after child1 in the child list of the parent. If an xpath, child2 will be inserted after the first child to match the xpath. @param child2 the child to insert @return the parent (self)
Returns a valid argument to make_expires
and the renewer or nil.
Given true
, nil
, or Numeric
, returns that value and nil
(no actual renewer). Otherwise it returns an expiry value from calling it.renew
and the renewer.
Merge a set of command options with the set of default options (without modifying the default option hash).
Indicated, based on the requested domain, if local gems should be considered.
Builds and installs indices.
Load a dependency management file.
Display an error message in a location expected to get error messages. Will ask question
if it is not nil.
Terminate the application with exit code status
, running any exit handlers that might have been defined.
Return a progress reporter object chosen from the current verbosity.
Return a download reporter object chosen from the current verbosity
Given a gem file’s contents, validates against its own MD5 checksum
String
Contents of the gem file
Merges a base path base
, with relative path rel
, returns a modified base path.
The server name this request is for
Logs req
and res
in the access logs. config
is used for the server name.
Generates a mask bit for a priority level. See mask=
Generates a mask value for priority levels at or below the level specified. See mask=