# File lib/fakefs/dir.rb, line 13
    def initialize(string)
      self.class._check_for_valid_file(string)

      @path = FileSystem.normalize_path(string)
      @open = true
      @pointer = 0
      @contents = ['.', '..'] + FileSystem.find(@path).entries
    end