instance method
build_template
Ruby on Rails 6.0.6
Since v6.0.6 PrivateSignature
build_template(locals)
No documentation comment.
Parameters
-
localsreq
Source
# File actionview/lib/action_view/unbound_template.rb, line 21
def build_template(locals)
options = @options.merge(locals: locals)
Template.new(
@source,
@identifer,
@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