Class: Lotus::Views::DefaultTemplateFinder
- Inherits:
-
View::Rendering::TemplateFinder
- Object
- View::Rendering::TemplateFinder
- Lotus::Views::DefaultTemplateFinder
- Defined in:
- lib/lotus/views/default_template_finder.rb
Overview
Instance Method Summary collapse
-
#initialize(view, root, template_name, format) ⇒ DefaultTemplateFinder
constructor
private
Template Finder.
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
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 |