@return the current line in the source
Reorders an array of nodes so that they are in document order It tries to do this efficiently.
FIXME: I need to get rid of this, but the issue is that most of the XPath
interpreter functions as a filter, which means that we lose context going in and out of function calls. If I knew what the index of the nodes was, I wouldn’t have to do this. Maybe add a document IDX for each node? Problems with mutable documents. Or, rewrite everything.
Reads all tuples matching tuple
from the proxied TupleSpace
. See TupleSpace#read_all
.
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.