123456789_123456789_123456789_123456789_123456789_

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

Class Method Summary

Resolver - Inherited

Instance Attribute Summary

Resolver - Inherited

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, formats, _)

[ GitHub ]

  
# File 'actionview/lib/action_view/testing/resolvers.rb', line 47

def query(path, exts, formats, _)
  handler, format, variant = extract_handler_and_format_and_variant(path, formats)
  [ActionView::Template.new("Template generated by Null Resolver", path, handler, :virtual_path => path, :format => format, :variant => variant)]
end