Class: Lotus::View::Rendering::PartialFinder Private

Inherits:
TemplateFinder show all
Defined in:
lib/lotus/view/rendering/partial_finder.rb

Overview

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.

Find a partial for the current view context. It’s used when a template wants to render a partial.

See Also:

Since:

  • 0.1.0

Constant Summary collapse

PREFIX =

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

Template file name prefix. By convention a partial file name starts with this prefix.

Examples:

"_sidebar.html.erb"

Since:

  • 0.1.0

'_'.freeze

Constants inherited from TemplatesFinder

TemplatesFinder::ENGINES, TemplatesFinder::FORMAT

Method Summary

Methods inherited from TemplateFinder

#find, #initialize

Methods inherited from TemplatesFinder

#find, #initialize

Constructor Details

This class inherits a constructor from Lotus::View::Rendering::TemplateFinder