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