FIXME This probably won’t work properly
Escapes all possible entities
Unescapes all possible entities
Iterates over nodes that match the given path, calling the supplied block with the match.
The context element
The xpath to search for. If not supplied or nil, defaults to ‘*’
If supplied, a Hash
which defines a namespace mapping
If supplied, a Hash
which maps $variables in the query to values. This can be used to avoid XPath
injection attacks or to automatically handle escaping string values.
XPath.each( node ) { |el| ... } XPath.each( node, '/*[@attr='v']' ) { |el| ... } XPath.each( node, 'ancestor::x' ) { |el| ... } XPath.each( node, '/book/publisher/text()=$publisher', {}, {"publisher"=>"O'Reilly"}) \ {|el| ... }
Iterate through the tuple, yielding the index or key, and the value, thus ensuring arrays are iterated similarly to hashes.
Returns the first advertised TupleSpace
.
Iterates over all discovered TupleSpaces starting with the primary.
Yields event/tuple pairs until this NotifyTemplateEntry
expires.
Yields each Tuple
in this AvailableSet
True when the gem has been activated
The path to the data directory for this gem.
Platform of the gem
Delegates to @hash
Iterator over dependency_order