module RuboCop::PathUtil

def absolute?(path)

Returns true for an absolute Unix or Windows path.
def absolute?(path)
  path =~ %r{\A([A-Z]:)?/}
end