# File lib/rest_htmlprinter.rb, line 156 def print_contents contents @html.tag! "h#{contents.level}", "Table of Contents" @html.p do |p| p << create_contents_list( contents.root, 1 ) end end