method

pipe?

v2_1_10 - Show latest stable - Class: File
pipe?(p1)
public

Returns true if the named file is a pipe.

file_name can be an IO object.