Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library shell > class Shell > new
new(pwd = Dir.pwd, umask = nil) -> Shell
プロセスのカレントディレクトリをpwd で指定されたディレクトリとするShellオ ブジェクトを生成します.