Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library pathname > class Pathname > rmtree

instance method Pathname#rmtree

rmtree

FileUtils.rm_r(self.to_s) と同じです。 (cf. FileUtils.#rm_r)