Hi --

On Tue, 18 Nov 2003, gabriele renzi wrote:
> il Tue, 18 Nov 2003 13:34:32 +0100, Raphael Bauduin
> <raphael.bauduin@be.easynet.net> ha scritto::
>
> >Hi,
> >
> >I have a method taking one argument that can be an integer or a string.
> >How do I test the argument to know if it's a string or an integer? All
> >the duck typing things I've read make me wonder what's the best way
> >to determine if the argument is an integer or a string.....
>
> you don't want duck typing :)
Then he'd better avoid Ruby :-)


David

--
David Alan Black
home: [email]dblack@wobblini.net[/email] # New email address
work: [email]blackdav@shu.edu[/email]
Web: [url]http://pirate.shu.edu/~blackdav[/url]