るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.151秒)
トップページ > クエリ:-[x] > クエリ:E[x] > クエリ:tr[x] > クエリ:rmtree[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix rank_e
  4. matrix det_e
  5. open3 capture2e

ライブラリ

クラス

モジュール

検索結果

Pathname#rmtree -> nil (30401.0)

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

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


@see FileUtils.#rm_r...

FileUtils.#rmtree(list, options = {}) -> () (24401.0)

ファイルまたはディレクトリ list を再帰的に消去します。

..._r(list, force: true) と同じです。

@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。

@param options :noop, :verbose, :secure が指定できます。
c:FileUtils#options...
...ソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure の項を参照してください。

@see FileUtils.#rm, FileUtils.#rm_r, FileUtils.#remove_entry_secure...