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
to_a( xpath=nil ) Instance Public methods Returns an Array of
each( xpath=nil ) Instance Public methods Iterates through all of the child
size() Instance Public methods Returns the number of Element children
new(parent) Class Public methods Constructor parent
<<(element=nil) Instance Public methods Alias for:
Page 1 of 2