Chris Gehlker wrote: > I'm just curious. I already found a work-around. > > testAry = ["5", "7", "9"] > p testAry > testAry = testAry.each { |n| n.to_i} > p testAry > ------------------------------ > The second output is still an array of strings. > each doesn't modify the element in place. Use map or collect instead. irb(main):001:0> t = [ "1", "2", "3" ] => ["1", "2", "3"] irb(main):002:0> t.map{ |n| n.to_i } => [1, 2, 3] irb(main):003:0> Zach