See http://www.rubygarden.org/ruby?KeywordArguments for a discussion on
this. Also, see Hal Fulton’s “The Ruby Way” for hash-less way to accomplish
the same thing.
Regards,
Dan
···
-----Original Message-----
From: gabriele renzi [mailto:surrender_it@rc1.vip.lng.yahoo.com]
Sent: Friday, June 13, 2003 1:38 PM
To: ruby-talk@ruby-lang.org
Subject: ruby design: keyword argumentsHi gurus and nubys,
I just met for the first time a situation where I’d like to
have keyword arguments. I know that I could emulate them
using hashes, but that looks as overhead to me, and I don’t like it.So I wonder: why we don’t have such a useful thing in ruby?
was it a design choice or just matz forgot them ?