Class: Hanami::Views::DefaultTemplateFinder Private
- Inherits:
-
View::Rendering::TemplateFinder
- Object
- View::Rendering::TemplateFinder
- Hanami::Views::DefaultTemplateFinder
- Defined in:
- lib/hanami/views/default_template_finder.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
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
9 10 11 12 13 |
# File 'lib/hanami/views/default_template_finder.rb', line 9 def initialize(view, root, template_name, format) @view = view @root = root @options = { template: template_name, format: format } end |