RUBY: How to read an array from a file and store it in an array : I am trying to read an array from a file and save it in myArray[]. Ex File1.txt is ["abc", "def"...] I want to be able to parse myArray[0] which is "abc", myArray[1] which is "def" and so on..How do I do it in Ruby?