This method is deprecated or moved on the latest stable version.
The last existing version (v6.1.7.7) is shown here.
extract_handler_and_format_and_variant(path)
private
Extract handler, formats and variant from path. If a format cannot be found
neither from the path, or the handler, we should return the array of
formats given to the resolver.
# File actionview/lib/action_view/template/resolver.rb, line 309
def extract_handler_and_format_and_variant(path)
details = @path_parser.parse(path)
handler = Template.handler_for_extension(details[:handler])
format = details[:format] || handler.try(:default_format)
variant = details[:variant]
# Template::Types[format] and handler.default_format can return nil
[handler, format, variant]
end