Class: Dry::TemplateResolver
- Inherits:
-
ActionView::FileSystemResolver
- Object
- ActionView::FileSystemResolver
- Dry::TemplateResolver
- Defined in:
- lib/dry/template_resolver.rb
Constant Summary collapse
- DRY_PATTERN =
DEFAULT_PATTERN.sub /:prefix\//, ''
Instance Method Summary collapse
-
#initialize ⇒ TemplateResolver
constructor
A new instance of TemplateResolver.
Constructor Details
#initialize ⇒ TemplateResolver
Returns a new instance of TemplateResolver.
7 8 9 |
# File 'lib/dry/template_resolver.rb', line 7 def initialize super Dry.view_path, DRY_PATTERN end |