singleton method File.file?

file?(path) -> bool[permalink][rdoc][edit]

FileTest.#file? と同じです。

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