Oops! \*Directory class. The Dir class is the built-in Ruby class for understanding and managing file system directories.