Class: REXML::Element
Overview
all_text: Get all text from descendants that are Text or CData
Instance Method Summary collapse
Instance Method Details
#all_text ⇒ Object
6 7 8 |
# File 'lib/kramdown-rfc/rexml-all-text.rb', line 6 def all_text @children.map {|c| c.all_text}.join end |