title: How to read file into line by line array in Ruby?
body: <p>I have a file data like this:</p>
  
  <pre><code>  productRankingOct12: [
    value: "LessPopularityEPC"
  ,
    value: "CtrEpcJob"
  ,
    value: "DeviceSpecificLPE"
  ]
  guidedSearch: [
    value: false
  ,
    value: true
  ]
  </code></pre>
  
  <p>I would like to read the lines into array &amp; store it like </p>
  
  <pre><code>array[0] = productRankingOct12: [
  array[1] = value: "LessPopularityEPC"
  </code></pre>