Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Fileクラス > writable?
writable?(path) -> bool
FileTest.#writable? と同じです。