From: Li Chen Date: 2009-02-11T23:48:58+09:00 Subject: Re: how to do the recursion Pascal J. Bourguignon wrote: > That's possible because we specified a default value of some of these > parameters. > William specified an empty array as the default for result: result = [] > I specified an empty string: result="" > That renders the corresponding argument optional. > > (Of course, all the parameters with defaults must be last in the > paramater list, and the optional arguments are assigned in order). Hi Pascal, Thanks for the explanation. But I wonder which page in the PickAxe mentions about this kind of usage? Li -- Posted via http://www.ruby-forum.com/.