From: Timothy Hunter Date: 2005-12-22T09:52:48+09:00 Subject: Re: String > Integer Conversion Problem Jacob Fugal wrote: > begin > one, two = ARGV.map{ |n| Integer(n) } > rescue ArgumentError > puts Usage > exit > end When the arguments to Integer are strings from the command line, yes. In the general case Integer() can raise TypeError as well as ArgumentError, for arguments like Integer([1,2])