method

sticky?

v1_8_6_287 - Show latest stable - Class: File::Stat
sticky?()
public

Returns true if stat has its sticky bit set, false if it doesn’t or if the operating system doesn’t support this feature.

   File.stat("testfile").sticky?   #=> false