how to ta every element in an array turn it into integer in return a new array in ruby code example Example: ruby array ary = [1, "two", 3.0] #=> [1, "two", 3.0]