# File lib/fakefs/pathname.rb, line 330 def root? chop_basename(@path).nil? && /#{SEPARATOR_PAT}/o =~ @path end