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::Resolver
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,
#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