From: Lyle Johnson Date: 2002-01-31T07:44:42+09:00 Subject: Re: Object and message This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C1A9AC.FFB44D80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Send it the respond_to? message: anObject.respond_to?(:aMessage) -> answers true or false Hope this helps, Lyle "Dat Nguyen" wrote in message = news:F46cOXvudKPnizJJIGo00007ab4@hotmail.com... Hello all, How do I inquire if an object understands a particular message, in = other words how do I figure out if a particular message is defined for = an object. Thanks, Dat -------------------------------------------------------------------------= ----- Get your FREE download of MSN Explorer at http://explorer.msn.com. ------=_NextPart_000_0020_01C1A9AC.FFB44D80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Send it the respond_to?=20 message:
 
   =20 anObject.respond_to?(:aMessage) -> answers true or false
 
Hope this helps,
 
Lyle
"Dat Nguyen" <thucdat@hotmail.com> wrote = in message=20 news:F46cOXvudKPniz= JJIGo00007ab4@hotmail.com...

Hello all,

How do I inquire if an object understands a = particular message, in=20 other words how do I figure out if a particular message is defined for = an=20 object.
 
Thanks,
Dat


Get your FREE download of MSN Explorer at http://explorer.msn.com.
------=_NextPart_000_0020_01C1A9AC.FFB44D80--