3件ヒット
[1-3件を表示]
(0.163秒)
ライブラリ
- ビルトイン (1)
- pathname (1)
-
shell
/ command-processor (1)
クラス
-
File
:: Stat (1) - Pathname (1)
-
Shell
:: CommandProcessor (1)
検索結果
先頭3件
-
Pathname
# socket? -> bool (63307.0) -
FileTest.socket?(self.to_s) と同じです。
FileTest.socket?(self.to_s) と同じです。
@see FileTest.#socket? -
Shell
:: CommandProcessor # socket?(file) -> bool (63304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#socket? -
File
:: Stat # socket? -> bool (54343.0) -
ソケットの時に真を返します。
ソケットの時に真を返します。
//emlist[][ruby]{
Dir.glob("/tmp/*"){|file|
if File::Stat.new(file).socket?
printf "%s\n", file
end
}
#例
#=> /tmp/uimhelper-hogehoge
#...
//}