instance method Array#size
Array#size() → Number
Returns the size of the array.
This is just a local optimization of the mixed-in Enumerable#size
which avoids array cloning and uses the array's native length property.
Array#size() → Number
Returns the size of the array.
This is just a local optimization of the mixed-in Enumerable#size
which avoids array cloning and uses the array's native length property.