class Asciidoctor::PathResolver

def root? path

def root? path
  (absolute_path? path) || (path.start_with? 'file://', 'http://', 'https://')
end