Why does the Ruby Array class have to_a and to_ary methods?

Viewed 1166

Are there any use cases in which we'd call Array.to_a and Array.to_ary on an object that's already an Array?

If not, why do these methods exist within the Array class?

3 Answers
Related