るりまサーチ

最速Rubyリファレンスマニュアル検索!
60件ヒット [1-60件を表示] (0.010秒)
トップページ > クエリ:remove[x] > 種類:特異メソッド[x]

別のキーワード

  1. fileutils remove
  2. fileutils remove_dir
  3. fileutils remove_file
  4. rexml/document remove
  5. fileutils remove_entry

モジュール

キーワード

検索結果

WEBrick::HTTPServlet::FileHandler.remove_handler(suffix) -> Class (6102.0)

与えられた拡張子に対応するサーブレットを削除します。

与えられた拡張子に対応するサーブレットを削除します。

@param suffix 拡張子を指定します。

Dir.mktmpdir(prefix_suffix = nil, tmpdir = nil) -> String (13.0)

一時ディレクトリを作成します。

...た場合は、ブロックの評価が終わると
作成された一時ディレクトリやその配下にあったファイルを
FileUtils.#remove_entry を用いて削除し、ブロックの値をかえします。
ブロックが与えられなかった場合は、作成した一時ディレ...
...は、ディレクトリは存在する。
begin
File.open("#{dir}/foo", "w") { |fp|
fp.puts "hogehoge"
}
ensure
FileUtils.remove_entry_secure dir
end
p FileTest.directory?(dir) #=> false

@raise ArgumentError tmpdirが全てのユーザから書き込み可能かつ、stic...

Dir.mktmpdir(prefix_suffix = nil, tmpdir = nil) {|dir| ... } -> object (13.0)

一時ディレクトリを作成します。

...た場合は、ブロックの評価が終わると
作成された一時ディレクトリやその配下にあったファイルを
FileUtils.#remove_entry を用いて削除し、ブロックの値をかえします。
ブロックが与えられなかった場合は、作成した一時ディレ...
...は、ディレクトリは存在する。
begin
File.open("#{dir}/foo", "w") { |fp|
fp.puts "hogehoge"
}
ensure
FileUtils.remove_entry_secure dir
end
p FileTest.directory?(dir) #=> false

@raise ArgumentError tmpdirが全てのユーザから書き込み可能かつ、stic...

FileUtils.options -> Array (7.0)

オプション名の配列を返します。

...オプション名の配列を返します。

//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}...
...オプション名の配列を返します。

//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}...

Rake::PackageTask.new(name = nil, version = nil) {|t| ... } -> Rake::PackageTask (7.0)

自身を初期化してタスクを定義します。

...task.package_dir = "./pkg"
package_task.package_files.include("lib/**/*")
end

# rake -T を実行すると以下になる
# => rake clobber_package # Remove package products
# rake package # Build all the packages
# rake repackage # Force a rebuild of the package files
//}...

絞り込み条件を変える