I am learning ruby, so I am doing several programs that I had already done in python to practice the language (because I can not think of many things I can do, if someone comes up with a ruby programming exercise please write in the comments.) At the moment I am recreating a project that was a bash emulator in windows, for that I have to put a prompt that has the directory in which the user is.
How can I find out what directory I'm in using ruby?