src code

instance method Enumerable#toArray

Enumerable#toArray() → Array

Returns an Array representation of the enumeration.

Aliased as: Enumerable#entries