A class which provides filtering of children for Elements, and XPath search support. You are expected to only encounter this class as the element.elements object. Therefore, you are not expected to instantiate this yourself.
element.elements
[]=( index, element ) Instance Public methods Sets an element, replacing any
collect( xpath=nil ) Instance Public methods
delete(element) Instance Public methods Deletes a child
empty?() Instance Public methods Returns true if there are no
add(element=nil) Instance Public methods Adds an element
each( xpath=nil ) Instance Public methods Iterates through all of the child
to_a( xpath=nil ) Instance Public methods Returns an Array of
size() Instance Public methods Returns the number of Element children
<<(element=nil) Instance Public methods Alias for:
index(element) Instance Public methods Returns the index of the supplied child
Page 1 of 2