method

size

v2_4_6 - Show latest stable - Class: File::Stat
size()
public

Returns the size of stat in bytes.

File.stat("testfile").size   #=> 66