Class AutomateIt::TemplateManager::ERB
In: lib/automateit/template_manager/erb.rb
Parent: AutomateIt::TemplateManager::BaseDriver

TemplateManager::ERB

Renders ERB templates for TemplateManager.

Methods

render  

Public Instance methods

See documentation for TemplateManager#render

[Source]

# File lib/automateit/template_manager/erb.rb, line 12
  def render(*options)
    return _render_helper(*options) do |o|
      HelpfulERB.new(o[:text], o[:filename]).result(o[:binder])
    end
  end

[Validate]