Ok, I tried that and it gets me to where I am now, I can see the methods for an object, but I can't tell if the method a.) takes a parameter b.) if it takes a parameter the # of parameters it takes. On 3/22/06, David Ishmael <dishmael / windwardcg.com> wrote: > Try this ... > > http://www.rubycentral.com/book/ospace.html > > -Dave > > > I'm trying to find out the number and name of a method's parameters. > I've googled for 'ruby method parameter introspection' and come up > with almost nothing. Is there a way to ask a method for the > parameters it takes? > > Could this way also show me the method overloads? > foo() > foo(param1) > foo(param1, param2) > etc. > thanks, -- Keith Sader ksader / gmail.com http://www.saderfamily.org/roller/page/ksader