title: Want to print set of values in an Array
body: <p>I am new to Ruby programming and currently working on an automation, I have the following array. </p>
  
  <pre><code>arr = [
    ["DealsNEvents-9", "GLOBAL", "dom_validation_config", "4", "gl_personal_care_appliances"],
    ["DealsNEvents-9", "GLOBAL", "dom_validation_config", "4", "gl_drugstore"],
    ["DealsNEvents-9", "GLOBAL", "dom_validation_config", "4", "gl_pantry"],
    ["DealsNEvents-9", "GLOBAL", "dom_validation_config", "4", "gl_pet_products"],
    ["DealsNEvents-9", "GLOBAL", "dom_validation_config", "4", "gl_grocery"]
  ]
  </code></pre>
  
  <p>I would like to print the last element of each element (array) of <code>arr</code>, here <code>"values gl_personal_care_appliances"</code>, <code>"gl_drugstore"</code>, <code>"gl_pantry"</code>, <code>"gl_pet_products"</code> and <code>"gl_grocery'</code>.</p>
  
  <p>I tried few methods taking reference from net but no success. Any lead or assistance </p>