Joining arrays, the ruby way
Like PHP’s join function but in more elegant ruby way. Let’s see how can you do it:
Or:
Yes, the multiply operator does the job as well.
Or:
Each time the same result:
I never play videogames, but with programming languages in My free time, hope You enjoy reading.
Comments