Results for: "Logger"

The file name and line number of the caller of the caller of this method.

depth is how many layers up the call stack it should go.

e.g.,

def a; Gem.location_of_caller; end a #=> [“x.rb”, 2] # (it’ll vary depending on file name and line number)

def b; c; end def c; Gem.location_of_caller(2); end b #=> [“x.rb”, 6] # (it’ll vary depending on file name and line number)

Returns the latest release version of RubyGems.

Like Enumerable#select, but chains operation to be lazy-evaluated.

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.

Parameters

No documentation available

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

Returns the X.509 certificates the server presented.

No documentation available
No documentation available
No documentation available

Sym#terminal?

No documentation available
No documentation available

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).

No documentation available

Indicated, based on the requested domain, if local gems should be considered.

Builds and installs indices.

No documentation available
No documentation available
No documentation available
No documentation available

Load a dependency management file.

No documentation available

Regenerates plugin wrappers after removal.

Search took: 4ms  ·  Total Results: 2079