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

instance method Pathname#rmtree

rmtree -> nil

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

[SEE_ALSO] FileUtils.#rm_r

class Pathname