class FakeFS::Pathname

def root?


pathnames which points to roots such as /usr/...
It doesn't access actual filesystem. So it may return +false+ for some

pathname consists of consecutive slashes.
I.e. it returns +true+ if the
#root? is a predicate for root directories.
def root?
  chop_basename(@path).nil? && /#{SEPARATOR_PAT}/o =~ @path
end