# File lib/rd/element.rb, line 54 def each_element(&block) yield(self) children.each do |i| i.each_element(&block) end end