pwd « File Directory « Ruby






1.find out what the current directory is with Dir.pwd
2.change directories (using an absolute path), and then store the value of the directory path in a variable.