# File lib/rdoc/markup/to_table_of_contents.rb, line 24 def accept_heading heading @res << heading end