RDoc parses this info too, maybe you could dig around in RDoc and see
how they do it?

Charlie Squires wrote:
> Thanks for the feedback. I need a way to do this without changing the method
> itself. I'm trying to get an external program a list of parameters from a
> Ruby source file. I suppose I could write a parse script.
>
> "Robert Klemme" <bob.news / gmx.net> wrote in message
> news:3tu0n5Fum4erU1 / individual.net...
> > Trans wrote:
> >> If you can get the binding from the start of the method you can look
> >> at #local_variables.
> >
> > IMHO you can't do that without changing the method.  Charlie asked for a
> > solution using reflection so I think this is not an option for him.
> >
> > Kind regards
> >
> >    robert
> >