module Sass::Embedded::Url
def file_url_to_path(url)
def file_url_to_path(url) if url.start_with? 'file://' URI_PARSER.unescape url[(Platform::OS == 'windows' ? 8 : 7)..] else URI_PARSER.unescape url end end
def path_to_file_url(path)
def path_to_file_url(path) if File.absolute_path? path "file://#{Platform::OS == 'windows' ? File::SEPARATOR : ''}#{URI_PARSER.escape(path)}" else URI_PARSER.escape(path) end end