Class: ActionView::NullResolver
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Resolver
|
|
Instance Chain:
self,
Resolver
|
|
Inherits: |
ActionView::PathResolver
|
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_anywhere |
Constructor Details
This class inherits a constructor from ActionView::Resolver
Instance Method Details
#query(path, exts, _, _)
[ GitHub ]# File 'actionview/lib/action_view/testing/resolvers.rb', line 49
def query(path, exts, _, _) handler, format, variant = extract_handler_and_format_and_variant(path) [ActionView::Template.new("Template generated by Null Resolver", path.virtual, handler, virtual_path: path.virtual, format: format, variant: variant)] end