I have a ruby array like ['12','34','35','231']
.
I want to convert it to a string like '12','34','35','231'
.
How can I do that?
I'll join the fun with:
['12','34','35','231'].join(', ')
EDIT:
"'#{['12','34','35','231'].join("', '")}'"
Some string interpolation to add the first and last single quote :P