vendredi 6 novembre 2015

Modifying an array in Ruby with some other text

I am trying to modify an array in Ruby

My original array looks like:

arr = [ ' \"172.31.25.207\" ', ' \"172.31.21.29\" ' ]

However, I want the array to look like:

arr = "172.31.25.207", "172.31.21.29"

Aucun commentaire:

Enregistrer un commentaire