From: Francis Hwang Date: 2005-11-17T12:57:17+09:00 Subject: Re: Parameter names from reflection? 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" 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 > >