Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > parent
parent -> Pathname
self の親ディレクトリを指す新しい Pathname オブジェクトを返します。