Class: ActionView::NullResolver
- Inherits:
-
PathResolver
- Object
- Resolver
- PathResolver
- ActionView::NullResolver
- Defined in:
- 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, #find_all_anywhere, #initialize
Constructor Details
This class inherits a constructor from ActionView::PathResolver
Instance Method Details
#query(path, exts, formats, outside_app_allowed) ⇒ Object
43 44 45 46 |
# File 'lib/action_view/testing/resolvers.rb', line 43 def query(path, exts, formats, outside_app_allowed) handler, format = extract_handler_and_format(path, formats) [ActionView::Template.new("Template generated by Null Resolver", path, handler, :virtual_path => path, :format => format)] end |