method

table_of_contents

table_of_contents()
public

Returns an Array of headings in the document.

Require ‘rdoc/markup/formatter’ before calling this method.