39件ヒット
[1-39件を表示]
(0.166秒)
種類
- インスタンスメソッド (28)
- 特異メソッド (11)
ライブラリ
- ビルトイン (22)
- pathname (11)
-
shell
/ command-processor (6)
クラス
- File (11)
-
File
:: Stat (11) - Pathname (11)
-
Shell
:: CommandProcessor (6)
検索結果
先頭4件
-
File
:: Stat # symlink? -> false (27313.0) -
シンボリックリンクである時に真を返します。 ただし、File::Statは自動的にシンボリックリンクをたどっていくので 常にfalseを返します。
...、File::Statは自動的にシンボリックリンクをたどっていくので
常にfalseを返します。
//emlist[][ruby]{
require 'fileutils'
outfile = $0 + ".ln"
FileUtils.ln_s($0, outfile)
p File::Stat.new(outfile).symlink? #=> false
p File.lstat(outfile).symlink? #=> true
p FileTest.......symlink?(outfile) #=> true
//}
@see File.lstat... -
Pathname
# symlink? -> bool (27201.0) -
FileTest.symlink?(self.to_s) と同じです。
...FileTest.symlink?(self.to_s) と同じです。
@see FileTest.#symlink?... -
Shell
:: CommandProcessor # symlink?(file) -> bool (27200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink?... -
File
. symlink?(path) -> bool (24300.0) -
FileTest.#symlink? と同じです。
...FileTest.#symlink? と同じです。
@param path パスを表す文字列か IO オブジェクトを指定します。...