See File.pipe?.
File.pipe?
Returns:
49 50 51
# File 'lib/path/file_predicates.rb', line 49 def pipe? File.pipe?(@path) end