class RhetButler::HTMLGenerator

Attributes

impress_config[RW]
presentation[RW]
root_step[RW]

Public Class Methods

new(configuration, templates) click to toggle source
# File lib/rhet-butler/html-generator.rb, line 36
def initialize(configuration, templates)
  @impress_config = configuration.impress_config
  @templates = templates
  @root_step
  @presentation = Presentation.new(configuration)
end

Public Instance Methods

render(template, item=nil) click to toggle source
# File lib/rhet-butler/html-generator.rb, line 45
def render(template, item=nil)
  RenderFacade.new(@templates, item || self).render(template)
end