singleton method File.size

size(path) -> Integer[permalink][rdoc][edit]

FileTest.#size と同じです。

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