On the documentation for the #entries method in the Range class, the example uses to_a rather than entries, so it is not really showing how the method in question should be used.
I tried looking for this in the repository, but couldn't find this method in the range.c file.

On the documentation for the #entries method in the
Rangeclass, the example usesto_arather thanentries, so it is not really showing how the method in question should be used.I tried looking for this in the repository, but couldn't find this method in the
range.cfile.