Roger Pack wrote:

> 
> Appears that there is.
> ~ sudo gem install ParseTree
> 
>>> class A; def go(b); end; end
>>> args = ParseTree.translate(A, :go)[2][1][1]
> => [:args, :b]
> 
> Only works with MRI.
> Been using it recently for an auto named variable generator.
> GL.
> -R

I will check it out

I want to get the arg names for a block passed as an argument, I will 
check the API. Thanks!!
-- 
Posted via http://www.ruby-forum.com/.