class RDoc::Markup::ToTableOfContents

def accept_document(document)

def accept_document(document)
  @omit_headings_below = document.omit_headings_below
  super
end