Results for: "OptionParser"

No documentation available

306 Switch Proxy - no longer unused

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

Non-authentication POP3 protocol error (reply code “-ERR”, except authentication).

OpenTimeout, a subclass of Timeout::Error, is raised if a connection cannot be created within the open_timeout.

The writer adapter class

An implementation of PseudoPrimeGenerator.

Uses EratosthenesSieve.

Internal use. An implementation of prime table by trial division method.

No documentation available

An SimpleRenewer allows a TupleSpace to check if a TupleEntry is still alive.

Raised when there are conflicting gem specs loaded

No documentation available

Raised by Gem::Resolver when dependencies conflict and create the inability to find a valid possible spec for a request.

Raised by Resolver when a dependency requests a gem for which there is no spec.

Raised by Timeout.timeout when the block times out.

Not a URI component.

Raised when an attempt is made to send a message to a closed port, or to retrieve a message from a closed and empty port. Ports may be closed explicitly with Ractor#close_outgoing/close_incoming and are closed implicitly when a Ractor terminates.

r = Ractor.new { sleep(500) }
r.close_outgoing
r.take # Ractor::ClosedError

ClosedError is a descendant of StopIteration, so the closing of the ractor will break the loops without propagating the error:

r = Ractor.new do
  loop do
    msg = receive # raises ClosedError and loop traps it
    puts "Received: #{msg}"
  end
  puts "loop exited"
end

3.times{|i| r << i}
r.close_incoming
r.take
puts "Continue successfully"

This will print:

Received: 0
Received: 1
Received: 2
loop exited
Continue successfully

Raised by Encoding and String methods when the string being transcoded contains a byte invalid for the either the source or target encoding.

Raised by Timeout.timeout when the block times out.

No documentation available
No documentation available

Mixin module providing HTML generation methods.

For example,

cgi.a("http://www.example.com") { "Example" }
  # => "<A HREF=\"http://www.example.com\">Example</A>"

Modules Html3, Html4, etc., contain more basic HTML-generation methods (#title, #h1, etc.).

See class CGI for a detailed example.

Search took: 6ms  ·  Total Results: 3794