Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library fileutils > module FileUtils > getwd
pwd -> String
getwd -> String
プロセスのカレントディレクトリを文字列で返します。