Thanks. Does just fine - now that I know about it. Handy! t. Chris Kottom wrote: > 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 >> >> >> >> >> > > -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc / tomcloyd.com >> (email) << TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~