Class: Amber::Render::RegexTableOfContents
- Inherits:
-
TableOfContents
- Object
- TableOfContents
- Amber::Render::RegexTableOfContents
- Defined in:
- lib/amber/render/table_of_contents.rb
Overview
REGEX TOC
Instance Method Summary collapse
Methods inherited from TableOfContents
Constructor Details
This class inherits a constructor from Amber::Render::TableOfContents
Instance Method Details
#to_html ⇒ Object
170 171 172 173 |
# File 'lib/amber/render/table_of_contents.rb', line 170 def to_html super @new_html end |
#to_toc ⇒ Object
175 176 177 178 |
# File 'lib/amber/render/table_of_contents.rb', line 175 def to_toc super @toc.to_html(@options) end |