Class: Elisp2any::AsciiDocRenderer
- Inherits:
-
Object
- Object
- Elisp2any::AsciiDocRenderer
- Extended by:
- Forwardable
- Defined in:
- lib/elisp2any/asciidoc_renderer.rb
Overview
This renderer is experimental.
Instance Method Summary collapse
-
#initialize(file) ⇒ AsciiDocRenderer
constructor
A new instance of AsciiDocRenderer.
- #render ⇒ Object
Constructor Details
#initialize(file) ⇒ AsciiDocRenderer
Returns a new instance of AsciiDocRenderer.
6 7 8 |
# File 'lib/elisp2any/asciidoc_renderer.rb', line 6 def initialize(file) @file = file end |
Instance Method Details
#render ⇒ Object
10 11 12 |
# File 'lib/elisp2any/asciidoc_renderer.rb', line 10 def render erb_renderer('index.adoc.erb') end |