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

singleton method File.readable?

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

FileTest?.readable? と同じです。

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