class ActionView::TemplateRenderer
def render_template(view, template, layout_name, locals)
Experimental RBS support (using type sampling data from the type_fusion
project).
def render_template: (#<Class:0x00000001151f19c0> view, ActionView::Template template, Proc layout_name, Hash locals) -> untyped
This signature was generated using 1 sample from 1 application.
Renders the given template. A string representing the layout can be
def render_template(view, template, layout_name, locals) render_with_layout(view, template, layout_name, locals) do |layout| ActiveSupport::Notifications.instrument( "render_template.action_view", identifier: template.identifier, layout: layout && layout.virtual_path ) do template.render(view, locals) { |*name| view._layout_for(*name) } end end end