Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
pwd « File Directory « Ruby
Ruby
File Directory
pwd
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.