module Sass::Embedded::Url
def file_url_to_path(url)
def file_url_to_path(url) if url.start_with? FILE_SCHEME URI_PARSER.unescape url[(FILE_SCHEME.length + (Platform::OS == 'windows' ? 1 : 0))..] else URI_PARSER.unescape url end end
def path_to_file_url(path)
def path_to_file_url(path) if File.absolute_path? path URI_PARSER.escape "#{FILE_SCHEME}#{Platform::OS == 'windows' ? File::SEPARATOR : ''}#{path}" else URI_PARSER.escape path end end