From: Chris Moline Date: 2001-08-17T07:10:35+09:00 Subject: [ruby-talk:19922] Re: Keyword arguments (was GUI...) On Fri, Aug 17, 2001 at 03:18:53AM +0900, Yukihiro Matsumoto wrote: > No. Keyword argument is harder than I expected. It would be added in > 2.0 maybe. > > The syntax would be something like > > def test(a="goodbye", b="world") > puts "#{a} #{b}" > end > > test(b: "matz", a: "hello") I hope those commas won't be needed. I would rather see test a: "Hooray" b: "for matz!!".