how to return integer array in ruby code example Example: ruby array ary = [1, "two", 3.0] #=> [1, "two", 3.0]