class REXML::Element
def has_elements?
b.has_elements? # => false
b = a[0] # =>
a.has_elements? # => true
a = d.root # => ... >
d = REXML::Document.new 'text
+false+ otherwise:
Returns +true+ if the element has one or more element children,
has_elements?
:call-seq:
def has_elements? !@elements.empty? end