Method: Fixnum#size

Defined in:
numeric.c

#sizeFixnum

Returns the number of bytes in the machine representation of a Fixnum.

1.size            #=> 4
-1.size           #=> 4
2147483647.size   #=> 4

Returns:



2822
2823
2824
# File 'numeric.c', line 2822

static VALUE
fix_size(fix)
VALUE fix;