= private = protected
size(p1)
Returns the size of file_name.
static VALUE rb_file_s_size(VALUE klass, VALUE fname) { struct stat st; if (rb_stat(fname, &st) < 0) { FilePathValue(fname); rb_sys_fail(RSTRING_PTR(fname)); } return OFFT2NUM(st.st_size); }