Skip to content
instance method

FileTest#sticky?

(::path | ::io file_name) -> bool
File.sticky?(file_name) → true or false

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

file_name can be an IO object.

See also #socket? #symlink? #size? #world_readable? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0