How do I get the name of the current directory in Ruby? July 22, 2023 by Tarik How do I get the name of the current directory in Ruby?