Class: Dry::TemplateResolver

Inherits:
ActionView::FileSystemResolver
  • Object
show all
Defined in:
lib/dry/template_resolver.rb

Constant Summary collapse

DRY_PATTERN =
DEFAULT_PATTERN.sub /:prefix\//, ''

Instance Method Summary collapse

Constructor Details

#initializeTemplateResolver

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