module Sprockets::URIUtils
def join_file_uri(scheme, host, path, query)
Internal: Join file: URI component parts into String.
def join_file_uri(scheme, host, path, query) str = "#{scheme}://" str << host if host path = "/#{path}" unless path.start_with?("/") str << URI::Generic::DEFAULT_PARSER.escape(path) str << "?#{query}" if query str end