Class: Amber::Render::RegexTableOfContents

Inherits:
TableOfContents show all
Defined in:
lib/amber/render/table_of_contents.rb

Overview

REGEX TOC

Instance Method Summary collapse

Methods inherited from TableOfContents

#initialize

Constructor Details

This class inherits a constructor from Amber::Render::TableOfContents

Instance Method Details

#to_htmlObject



170
171
172
173
# File 'lib/amber/render/table_of_contents.rb', line 170

def to_html
  super
  @new_html
end

#to_tocObject



175
176
177
178
# File 'lib/amber/render/table_of_contents.rb', line 175

def to_toc
  super
  @toc.to_html(@options)
end