Class: Lotus::Views::DefaultTemplateFinder

Inherits:
View::Rendering::TemplateFinder
  • Object
show all
Defined in:
lib/lotus/views/default_template_finder.rb

Overview

Since:

  • 0.1.0

Instance Method Summary collapse

Constructor Details

#initialize(view, root, template_name, format) ⇒ DefaultTemplateFinder

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.

Template Finder

Since:

  • 0.2.0



8
9
10
11
12
# File 'lib/lotus/views/default_template_finder.rb', line 8

def initialize(view, root, template_name, format)
  @view    = view
  @root    = root
  @options = { template: template_name, format: format }
end