singleton method File.size?

size?(path) -> bool[permalink][rdoc]

FileTest.#size? と同じです。

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