るりまサーチ

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

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file ctime
  4. file lstat
  5. file mtime

ライブラリ

キーワード

検索結果

<< < ... 3 4 5 >>

FileUtils.#uptodate?(newer, older_list, options = nil) -> bool (24019.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 (24019.0)

与えられたオプションを持つメソッド名の配列を返します。

...与えられたオプションを持つメソッド名の配列を返します。

@param opt オプション名をシンボルで指定します。

//emlist[][ruby]{
require 'fileutils'
FileUtils
.collect_method(:preserve) # => ["cp", "cp_r", "copy", "install"]
//}...

FileUtils.commands -> Array (24019.0)

何らかのオプションを持つメソッド名の配列を返します。

...何らかのオプションを持つメソッド名の配列を返します。

//emlist[][ruby]{
require 'fileutils'
FileUtils
.commands # => ["chmod", "cp", "cp_r", "install", ...]
//}...

FileUtils.options -> Array (24019.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 (24019.0)

与えられたメソッド名で使用可能なオプション名の配列を返します。

...与えられたメソッド名で使用可能なオプション名の配列を返します。

@param mid メソッド名を指定します。

//emlist[][ruby]{
require 'fileutils'
FileUtils
.options_of(:rm) # => ["noop", "verbose", "force"]
//}...

絞り込み条件を変える

<< < ... 3 4 5 >>