#!/usr/local/bin/ruby numbers = ["1", "2", "3"] p numbers.collect {|item| item.to_i }