2件ヒット
[1-2件を表示]
(0.121秒)
クラス
-
File
:: Stat (1) - Pathname (1)
検索結果
-
Pathname
# socket? -> bool (63604.0) -
FileTest.socket?(self.to_s) と同じです。
FileTest.socket?(self.to_s) と同じです。
@see FileTest.#socket? -
File
:: Stat # socket? -> bool (54640.0) -
ソケットの時に真を返します。
ソケットの時に真を返します。
//emlist[][ruby]{
Dir.glob("/tmp/*"){|file|
if File::Stat.new(file).socket?
printf "%s\n", file
end
}
#例
#=> /tmp/uimhelper-hogehoge
#...
//}