WriteTimeout
, a subclass of Timeout::Error
, is raised if a chunk of the response cannot be written within the write_timeout. Not raised on Windows.
The writer adapter class
Simple option list providing mapping from short and/or long option string to OptionParser::Switch
and mapping from acceptable argument to matching pattern and converter pair. Also provides summary feature.
Raises when switch is undefined.
Raises when the given argument does not match required format.
An abstract class for enumerating pseudo-prime numbers.
Concrete subclasses should override succ, next, rewind.
Internal use. An implementation of Eratosthenes’ sieve
A set of rule and position in it’s RHS. Note that the number of pointers is more than rule’s RHS array, because pointer points right edge of the final symbol when reducing.
A table of LALR states.
A LALR state.
Resolv::Hosts
is a hostname resolver that uses the system hosts file.
Raised when a hash-based tuple has an invalid key.
Raised when trying to use a canceled tuple.
Raised when trying to use an expired tuple.
A TupleEntry
is a Tuple
(i.e. a possible entry in some Tuplespace) together with expiry and cancellation data.
A TemplateEntry
is a Template
together with expiry and cancellation data.
Documentation?
A NotifyTemplateEntry
is returned by TupleSpace#notify
and is notified of TupleSpace
changes. You may receive either your subscribed event or the ‘close’ event when iterating over notifications.
See TupleSpace#notify_event
for valid notification types.
ts = Rinda::TupleSpace.new observer = ts.notify 'write', [nil] Thread.start do observer.each { |t| p t } end 3.times { |i| ts.write [i] }
Outputs:
['write', [0]] ['write', [1]] ['write', [2]]
Gem::DependencyList
is used for installing and uninstalling gems in the correct order to avoid conflicts.
Raised when attempting to uninstall a gem that isn’t in GEM_HOME.
Potentially raised when a specification is validated.