Method: RDoc::Markup::ToTest#accept_heading

Defined in:
lib/rdoc/markup/to_test.rb

#accept_heading(heading) ⇒ Object



59
60
61
# File 'lib/rdoc/markup/to_test.rb', line 59

def accept_heading(heading)
  @res << "#{'=' * heading.level} #{heading.text}"
end