Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class File > exist?

singleton method File.exist?

exist?(path) -> bool

FileTest.#exist? と同じです。

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