Not found
The exact documentation you were looking for could not be found. Here is the best guess.
size?()
public
Returns the size of stat in
bytes.
File.stat("testfile").size
Show source
static VALUE
rb_stat_s(VALUE obj)
{
off_t size = get_stat(obj)->st_size;
if (size == 0) return Qnil;
return OFFT2NUM(size);
}