Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > module FileTest > pipe?
pipe?(file) -> bool
ファイルが名前つきパイプ(FIFO)である時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。