= private = protected
has_elements?()
Evaluates to true if this element has at least one child Element
doc = Document.new "<a><b/><c>Text</c></a>" doc.root.has_elements # -> true doc.elements["/a/b"].has_elements # -> false doc.elements["/a/c"].has_elements # -> false
# File lib/rexml/element.rb, line 324 def has_elements? !@elements.empty? end