Class: ActionView::NullResolver
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Resolver
|
|
Instance Chain:
self,
Resolver
|
|
Inherits: |
ActionView::Resolver
|
Defined in: | actionview/lib/action_view/testing/resolvers.rb |
Class Attribute Summary
Resolver
- Inherited
.caching? | Alias for Resolver.caching. |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Resolver
- Inherited
#caching?, #clear_cache, | |
#find_all | Normalizes the arguments and passes it on to find_templates. |
#_find_all, | |
#find_templates | This is what child classes implement. |
#all_template_paths, #built_templates |
Instance Method Details
#find_templates(name, prefix, partial, details, locals = [])
[ GitHub ]# File 'actionview/lib/action_view/testing/resolvers.rb', line 38
def find_templates(name, prefix, partial, details, locals = []) path = TemplatePath.build(name, prefix, partial) handler = ActionView::Template::Handlers::Raw [ActionView::Template.new("Template generated by Null Resolver", path.virtual, handler, virtual_path: path.virtual, format: nil, variant: nil, locals: locals)] end