method

setuid?

v2_6_3 - Show latest stable - Class: File
setuid?(p1)
public

Returns true if the named file has the setuid bit set.

file_name can be an IO object.