Method: PDK::Template::Renderer::AbstractRenderer#initialize

Defined in:
lib/pdk/template/renderer.rb

#initialize(template_root, template_uri, context) ⇒ AbstractRenderer

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of AbstractRenderer.

Parameters:

  • template_root (String)

    The path to where the template exists on disk

  • template_uri (PDK::Util::TemplateUri)

    A URI which points to the source location of the Template

  • context (PDK::Context)

    The context in which the redering will occur in



47
48
49
50
51
# File 'lib/pdk/template/renderer.rb', line 47

def initialize(template_root, template_uri, context)
  @template_root = template_root
  @template_uri = template_uri
  @context = context
end