From: Sebastian Hungerecker Date: 2008-09-13T18:24:56+09:00 Subject: Re: Is my method defined? Fredrik wrote: > I have a method by the name methodA. I want to access this method like > this > > a = 'methodA' > eval(a) You should use send if a only contains a methodname. > But how do I know if the variable a actually holds the name of a > defined method? respond_to? method_name HTH, Sebastian -- NP: Metallica - The Day That Never Comes Jabber: sepp2k@jabber.org ICQ: 205544826