I am very new to the Ruby, I have array and I want to add double quotes to all alpha-numeric elements
array I have: a = [a255b78, wr356672]
a = [a255b78, wr356672]
Array i required: a =["a255b78", "wr356672"]
a =["a255b78", "wr356672"]
Is there any direct way to do this?
Aucun commentaire:
Enregistrer un commentaire