# File lib/fakefs/pathname.rb, line 920
      def self.glob(*args) # :yield: pathname
        if block_given?
          Dir.glob(*args) { |f| yield new(f) }
        else
          Dir.glob(*args).map { |f| new(f) }
        end
      end