Creates a thread that notifies waiting clients from the TupleSpace
.
Pulls lookup tuples out of the TupleSpace
and sends their DRb
object the address of the local TupleSpace
.
Returns an expiry Time
based on sec
which can be one of:
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.
true
if the TupleBag
to see if it has any expired entries.
Returns all tuples matching tuple
. Does not remove the found tuples.
Creates a thread that scans the tuplespace for expired tuples.
Try to get the XML
associated with rss
. Return rss
if it already looks like XML
, or treat it as a URI
, or a file to get the XML
,
Attempt to convert rss to a URI
, but just return it if there’s a ::URI::Error
Full path of the target library file. If the file is not in this gem, return nil.
Return a Gem::Specification
from this gem
Override to display the default values of the command options. (similar to arguments
, but displays the default values).
For example:
def defaults_str --no-gems-first --no-all end
Remove previously defined command-line argument name
.