parse_text(parent, indent)
public
Detects a section change to “Returns” and adds a heading
# File lib/rdoc/tom_doc.rb, line 206
def parse_text parent, indent # :nodoc:
paragraph = build_paragraph indent
if false == @seen_returns and 'Returns' == @section then
@seen_returns = true
parent << RDoc::Markup::Heading.new(3, 'Returns')
parent << RDoc::Markup::BlankLine.new
end
parent << paragraph
end