Class: ActionView::NullResolver
- Inherits:
-
PathResolver
- Object
- Resolver
- PathResolver
- ActionView::NullResolver
- Defined in:
- actionpack/lib/action_view/testing/resolvers.rb
Constant Summary
Constants inherited from PathResolver
PathResolver::DEFAULT_PATTERN, PathResolver::EXTENSIONS
Instance Method Summary collapse
Methods inherited from PathResolver
Methods inherited from Resolver
#clear_cache, #find_all, #initialize
Constructor Details
This class inherits a constructor from ActionView::PathResolver
Instance Method Details
#query(path, exts, formats) ⇒ Object
43 44 45 46 |
# File 'actionpack/lib/action_view/testing/resolvers.rb', line 43 def query(path, exts, formats) handler, format = extract_handler_and_format(path, formats) [ActionView::Template.new("Template generated by Null Resolver", path, handler, :virtual_path => path, :format => format)] end |