class ActionView::NullResolver
Inherits From
-
class
ActionView::
Resolver
Public instance methods
Source code 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