M Kumar M Kumar - 1 year ago 128
Ruby Question

Ruby array to string conversion

I have a ruby array like


I want to convert it to a string like

How can I do that?

Answer Source

I'll join the fun with:




Some string interpolation to add the first and last single quote :P