Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > new
new(path) -> Pathname
文字列 path を元に Pathname オブジェクトを生成します。