class SassC::ImportHandler::Importer
def resolve_file_url(url, parent_url, from_import)
def resolve_file_url(url, parent_url, from_import) path = URL.file_urls_to_relative_path(url, parent_url) parent_path = URL.file_url_to_path(parent_url) [File.dirname(parent_path)].concat(load_paths).each do |load_path| resolved = FileImporter.resolve_path(File.absolute_path(path, load_path), from_import) return URL.path_to_file_url(resolved) unless resolved.nil? end nil end