From: Michael Neumann Date: 2003-11-19T16:45:39+09:00 Subject: Re: Again, Rite explanation needed (keyword args and new hash syntax) On Wed, Nov 19, 2003 at 04:17:17PM +0900, gabriele renzi wrote: > il Wed, 19 Nov 2003 13:37:35 +1100, Greg McIntyre > ha scritto:: > >Is the double asterisk (**) especially for grouping the rest of the > >arguments into a hash the same way that a single asterisk groups the > >rest of the arguments into an array? > > yes, and I bet matz would allow > method_with_kwd_args (**hash ) Yes, that's IMHO better than what's allowed in Ruby1: def method_with_kwd_args (hash) I am not sure if the above (hash) will become obsolete, but I would vote for it. Regards, Michael