From: Farrel Lifson Date: 2007-06-04T23:04:37+09:00 Subject: Re: How to check if a string is a integer ? On 04/06/07, David Mullet wrote: > w wg wrote: > 123.is_a? Integer > => true > 'David'.is_a? Integer > => false That won't work irb(main):001:0> "123".is_a? Integer => false Farrel