method
build_unbound_template
v6.0.0 -
Show latest stable
- Class:
ActionView::PathResolver
build_unbound_template(template, virtual_path)private
No documentation available.
# File actionview/lib/action_view/template/resolver.rb, line 210
def build_unbound_template(template, virtual_path)
handler, format, variant = extract_handler_and_format_and_variant(template)
source = Template::Sources::File.new(template)
UnboundTemplate.new(
source,
template,
handler,
virtual_path: virtual_path,
format: format,
variant: variant,
)
end