# File lib/fakefs/pathname.rb, line 773
      def dirname
        self.class.new(File.dirname(@path))
      end