方法
实例公共方法
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