instance method build_template

Ruby on Rails 6.1.7.10

Since v6.0.6 Private

Available in: v6.0.6 v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

build_template(locals)

No documentation comment.

Parameters

locals req
Source
# File actionview/lib/action_view/unbound_template.rb, line 21
      def build_template(locals)
        options = @options.merge(locals: locals)
        Template.new(
          @source,
          @identifier,
          @handler,
          **options
        )
      end

Defined in actionview/lib/action_view/unbound_template.rb line 21 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::UnboundTemplate

Type at least 2 characters to search.

↑↓ navigate · open · esc close