Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > class File > exists?

singleton method File.exists?

exists?(path) -> bool

このメソッドはobsoleteです。

FileTest.#exist? と同じです。 File.exist?を使って下さい。

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