From: Stephen White Date: 2001-08-17T22:18:53+09:00 Subject: [ruby-talk:19941] Re: Keyword arguments (was GUI...) Yukihiro Matsumoto wrote: > The syntax would be something like > > def test(a="goodbye", b="world") > puts "#{a} #{b}" > end > > test(b: "matz", a: "hello") Could the syntax be made the same for both declaration and call? Eg: def test(a:"goodbye", b:"world") puts "#{a} #{b}" end test(b:"matz", a:"hello") -- spwhite@chariot.net.au