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
169 170 171 172 |
# File 'lib/amber/render/table_of_contents.rb', line 169 def to_html super @new_html end |
#to_toc ⇒ Object
174 175 176 177 |
# File 'lib/amber/render/table_of_contents.rb', line 174 def to_toc super @toc.to_html(@options) end |