Files & Directories in Ruby: A Primer

Because sometimes the documentation has too much information.

Two important classes: File & Dir.
Dir works with directories. File works with files.

Dir

It’s a lot like working in the command line!