for cleanup old bundler files
Return the best specification that contains the file matching path
amongst the specs that are not activated.
Returns a Ruby lighter-weight code representation of this specification, used for indexing only.
See to_ruby
.
Nonsymmetric reduction from Hessenberg to real Schur form.
State
Transition Table Serialization
Iterates through the children, yielding for each Element
that has a particular text set.
the text to search for. If nil, or not supplied, will iterate over all Element
children that contain at least one Text
node.
(optional) causes this method to return after yielding for this number of matching children
(optional) if supplied, this is an XPath
that filters the children to check.
doc = Document.new '<a><b>b</b><c>b</c><d>d</d><e/></a>' # Yields b, c, d doc.each_element_with_text {|e|p e} # Yields b, c doc.each_element_with_text('b'){|e|p e} # Yields b doc.each_element_with_text('b', 1){|e|p e} # Yields d doc.each_element_with_text(nil, 0, 'd'){|e|p e}