Macario Ortega wrote:
> Macario Ortega wrote:
>> Roger Pack wrote:
>>> 
>>>> I want to get the arg names for a block passed as an argument, I will 
>>>> check the API. Thanks!!
>>> 
>>> Another option is to pass args as an array
>>> :abc => 123
>> 
>> Yeah, extracting the arg names is the sclang solution but is not the 
>> only plausible one, thanks.
> 
> Anyway I would like get the arg names for a proc. Is it doable with 
> parsetree. I am googling about it.

Found this:

http://rubyforge.org/forum/forum.php?forum_id=9485

adds a to_sexp method to proc
-- 
Posted via http://www.ruby-forum.com/.