Results for: "OptionParser"

No documentation available
No documentation available

Gets all IP addresses for name from the hosts file.

Creates a new DNS resolver. See Resolv::DNS.new for argument details.

Yields the created DNS resolver to the block, if given, otherwise returns it.

Sets the resolver timeouts. This may be a single positive number or an array of positive numbers representing timeouts in seconds. If an array is specified, a DNS request will retry and wait for each successive interval in the array until a successful response is received. Specifying nil reverts to the default timeouts:

5, second = 5 * 2 / nameserver_count, 2 * second, 4 * second

Example:

dns.timeouts = 3

Closes the DNS resolver.

Gets all IP addresses for name from the DNS resolver.

name can be a Resolv::DNS::Name or a String. Retrieved addresses will be a Resolv::IPv4 or Resolv::IPv6

Registers for notifications of event ev on the proxied TupleSpace. See TupleSpace#notify

Creates a singleton RingFinger and looks for a RingServer. Returns the created RingFinger.

Returns the first advertised TupleSpace.

Called by TupleSpace to notify this NotifyTemplateEntry of a new event.

Retrieves a notification. Raises RequestExpiredError when this NotifyTemplateEntry expires.

Registers for notifications of event. Returns a NotifyTemplateEntry. See NotifyTemplateEntry for examples of how to listen for notifications.

event can be:

‘write’

A tuple was added

‘take’

A tuple was taken or moved

‘delete’

A tuple was lost after being overwritten or expiring

The TupleSpace will also notify you of the ‘close’ event when the NotifyTemplateEntry has expired.

No documentation available

True when the gem has been activated

Override to provide details of the arguments a command takes. It should return a left-justified string, one argument per line.

For example:

def usage
  "#{program_name} FILE [FILE ...]"
end

def arguments
  "FILE          name of file to find"
end

Reset the authoritative instance of the command manager.

No documentation available

Merges the requirements of other into this dependency

No documentation available
No documentation available

Changes in rubygems to lazily loading ‘rubygems/command` (in order to lazily load `optparse` as a side effect) affect bundler’s custom installer which uses ‘Gem::Command` without requiring it (up until bundler 2.2.29). This hook is to compensate for that missing require.

TODO: Remove when rubygems no longer supports running on bundler older than 2.2.29.

No documentation available
No documentation available
No documentation available
Search took: 4ms  ·  Total Results: 3794