This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.
accept_heading(heading)
Adds heading to the table of contents
# File lib/rdoc/markup/to_table_of_contents.rb, line 44 def accept_heading heading @res << heading unless suppressed? heading end