Method: Octodown::Renderer::HTML#initialize
- Defined in:
- lib/octodown/renderer/html.rb
#initialize(rendered_markdown, options = {}) ⇒ HTML
Returns a new instance of HTML.
12 13 14 15 16 |
# File 'lib/octodown/renderer/html.rb', line 12 def initialize(rendered_markdown, = {}) @rendered_markdown = rendered_markdown @options = @filepath = File.join parent_dir, 'template', 'octodown.html.erb' end |