種類
- モジュール関数 (559)
- 特異メソッド (60)
- インスタンスメソッド (48)
- 定数 (24)
キーワード
- METHODS (12)
-
OPT
_ TABLE (12) - cd (24)
- chdir (24)
- chmod (12)
-
chmod
_ R (12) - chown (12)
-
chown
_ R (12) - cmp (12)
-
collect
_ method (12) - commands (12)
-
compare
_ file (12) -
compare
_ stream (12) - copy (12)
-
copy
_ entry (12) -
copy
_ file (12) -
copy
_ stream (12) - cp (12)
-
cp
_ lr (7) -
cp
_ r (12) - getwd (12)
-
have
_ option? (12) - identical? (12)
- install (12)
- link (12)
- ln (12)
-
ln
_ s (12) -
ln
_ sf (12) - makedirs (12)
- mkdir (12)
-
mkdir
_ p (12) - mkpath (12)
- move (12)
- mv (12)
- pwd (12)
- remove (12)
-
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - rm (12)
-
rm
_ f (12) -
rm
_ r (12) -
rm
_ rf (12) - rmdir (12)
- rmtree (12)
- ruby (12)
-
safe
_ ln (12) -
safe
_ unlink (12) - sh (12)
-
split
_ all (12) - symlink (12)
- touch (12)
- uptodate? (12)
検索結果
先頭5件
-
FileUtils
. # uptodate?(newer , older _ list , options = nil) -> bool (1.0) -
newer が、older_list に含まれるすべてのファイルより新しいとき真。 存在しないファイルは無限に古いとみなされます。
...@param options どのようなオプションも指定することはできません。
@raise ArgumentError options にオプションを指定した場合に発生します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.uptodate?('hello.o', ['hello.c', 'hello.h']) or system('make')
//}... -
FileUtils
. collect _ method(opt) -> Array (1.0) -
与えられたオプションを持つメソッド名の配列を返します。
...与えられたオプションを持つメソッド名の配列を返します。
@param opt オプション名をシンボルで指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.collect_method(:preserve) # => ["cp", "cp_r", "copy", "install"]
//}... -
FileUtils
. commands -> Array (1.0) -
何らかのオプションを持つメソッド名の配列を返します。
...何らかのオプションを持つメソッド名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.commands # => ["chmod", "cp", "cp_r", "install", ...]
//}... -
FileUtils
. have _ option?(mid , opt) -> bool (1.0) -
mid というメソッドが opt というオプションを持つ場合、真を返します。 そうでない場合は、偽を返します。
mid というメソッドが opt というオプションを持つ場合、真を返します。
そうでない場合は、偽を返します。
@param mid メソッド名を指定します。
@param opt オプション名を指定します。 -
FileUtils
. options -> Array (1.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"]
//}... -
FileUtils
. options _ of(mid) -> Array (1.0) -
与えられたメソッド名で使用可能なオプション名の配列を返します。
...与えられたメソッド名で使用可能なオプション名の配列を返します。
@param mid メソッド名を指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options_of(:rm) # => ["noop", "verbose", "force"]
//}... -
FileUtils
:: METHODS -> Array (1.0) -
このモジュールで定義されている公開メソッドの配列を返します。
このモジュールで定義されている公開メソッドの配列を返します。 -
FileUtils
:: OPT _ TABLE -> Hash (1.0) -
内部で使用します。
内部で使用します。