--0015174c3c60993fce04681dfca3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Object#respond_to? doesn't do it for you?

On Wed, Apr 22, 2009 at 7:22 AM, Tom Cloyd <tomcloyd / comcast.net> wrote:

> I'm a little stumped on this one. I looked at several ideas, and none
> panned out.
>
> I have a string, which may name a method in a module required by my
> program. How can I test programmatically to see if  the method actually
> exists? I'd like to do something better than just catch an exception
> generated when I call a non-existent method.
>
> Is there a way to do this?
>
> Tom
>
>
>
>

--0015174c3c60993fce04681dfca3--