Methods

Instance Public methods

find_templates(name, prefix, partial, details, locals = [])

📝 Source code
# 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
🔎 See on GitHub