method

build_template

rails latest stable - Class: ActionView::UnboundTemplate
build_template(locals)
private

No documentation available.

# File actionview/lib/action_view/unbound_template.rb, line 49
      def build_template(locals)
        Template.new(
          @source,
          @identifier,
          details.handler_class,

          format: details.format_or_default,
          variant: variant&.to_s,
          virtual_path: @virtual_path,

          locals: locals.map(&:to_s)
        )
      end