るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.021秒)

別のキーワード

  1. _builtin exception
  2. exception exception
  3. bigdecimal exception_nan
  4. bigdecimal exception_all
  5. thread abort_on_exception=

ライブラリ

モジュール

検索結果

FileUtils.#rm(list, options = {}) -> () (15126.0)

list で指定された対象を消去します。

...は配列で指定します。

@param options :force, :noop, :verbose が指定できます。
c:FileUtils#options

//emlist[][ruby]{
require 'fileutils'
FileUtils.rm('junk.txt')
FileUtils.rm(Dir.glob('*~'))
FileUtils.rm('NotExistFile', force: true) # never raises exception
//}...

FileUtils.#remove(list, options = {}) -> () (26.0)

list で指定された対象を消去します。

...は配列で指定します。

@param options :force, :noop, :verbose が指定できます。
c:FileUtils#options

//emlist[][ruby]{
require 'fileutils'
FileUtils.rm('junk.txt')
FileUtils.rm(Dir.glob('*~'))
FileUtils.rm('NotExistFile', force: true) # never raises exception
//}...