別のキーワード
モジュール
- FileUtils (367)
-
Socket
:: Constants (12)
キーワード
- FileUtils (12)
- RakeFileUtils (12)
-
TCP
_ NOOPT (24) - chmod (12)
-
chmod
_ R (12) - chown (12)
-
chown
_ R (12) - copy (12)
- cp (12)
-
cp
_ lr (7) -
cp
_ r (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)
- remove (12)
- rm (12)
-
rm
_ f (12) -
rm
_ r (12) -
rm
_ rf (12) - rmdir (12)
- rmtree (12)
-
ruby 1
. 8 . 3 feature (12) -
safe
_ unlink (12) - symlink (12)
- touch (12)
検索結果
先頭5件
-
FileUtils
. # touch(list , options = {}) -> () (6.0) -
list で指定されたファイルの最終変更時刻 (mtime) と アクセス時刻 (atime) を変更します。
...は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :mtime, :nocreate, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.touch('timestamp')
FileUtils.t... -
FileUtils
. options -> Array (6.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 (6.0) -
与えられたメソッド名で使用可能なオプション名の配列を返します。
...与えられたメソッド名で使用可能なオプション名の配列を返します。
@param mid メソッド名を指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options_of(:rm) # => ["noop", "verbose", "force"]
//}... -
RakeFileUtils (6.0)
-
カスタムバージョンの FileUtils のメソッドを提供します。
...カスタムバージョンの FileUtils のメソッドを提供します。
FileUtils で定義されているメソッドのうち、:verbose, :noop の二つの
オプションのいずれかに反応するメソッドの動作を変更します。
このモジュールはトップレベルで... -
ruby 1
. 8 . 3 feature (6.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...lib] [compat]
: FileUtils.cp_r [lib] [compat]
rm_f と rm_rf が :secure オプションを受け付けるようになりました。
cd が :noop オプションを受け付けなくなりました。
cp_r が :dereference_root オプションを受け付けるようになりました。
=...