Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > mkpath
mkpath
FileUtils.mkpath(self.to_s) と同じです。 (cf. FileUtils.#mkpath)