From: Roger Pack Date: 2008-07-09T07:11:55+09:00 Subject: Re: Faking named parameters and enforcing required params > Basically it parses an array as a parameter list, with some required and > some optional parameters. > ex: > > [first remember that you can pass parameters to a method via * for a > variable number of parameters, i.e. def method *args; end passes in args > as an array of all parameters] > My question is does anybody know the C code for 'adding' a variable to the scope above the current? something like scope->prev->local_vars.push(name, object); Thanks! -R -- Posted via http://www.ruby-forum.com/.