class REXML::Element

all_text: Get all text from descendants that are Text or CData

Public Instance Methods

all_text() click to toggle source
# File lib/kramdown-rfc/rexml-all-text.rb, line 6
def all_text
  @children.map {|c| c.all_text}.join
end