Ruby 4.0 リファレンスマニュアル

singleton method File.sticky?

sticky?(path) -> bool[permalink][rdoc][edit]
(string | _ToPath | IO file_name) → bool

FileTest?.sticky? と同じです。

[PARAM] path:
パスを表す文字列か IO オブジェクトを指定します。