While working through a Ruby problem on Codewars, I discovered a way to combine an array of integers in order to work on it as a string. As an example, see the following code snippet:
[3,2,1].join # --> returns "321"
This was surprising to me. In order to get the same result, I had taken the long route: