instance method File::Stat#pipe?
pipe? -> bool
-
無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
system("mkfifo /tmp/pipetest") p File::Stat.new("/tmp/pipetest").pipe? #=> true
class File::Stat
pipe? -> bool
無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
system("mkfifo /tmp/pipetest") p File::Stat.new("/tmp/pipetest").pipe? #=> true