class Asciidoctor::PathResolver

def web_root? path

returns a Boolean indicating whether the path is an absolute (root) web path

path - the String path to check

Public: Determine if the path is an absolute (root) web path
def web_root? path
  path.start_with? SLASH
end