From: dominikho@... Date: 2009-07-25T10:59:00+09:00 Subject: [ANN] keyword_arguments v0.0.1 --O8XZ+2Hy8Kj8wLPZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is the first release (and actually my first announce on this list as well) of keyword_arguments[1][2] What it does is provide a handful of convenient methods for working with hashes as named arguments. Those methods allow you to specify required, default and allowed arguments, without the need of duplicating code all over your methods, without the need of even adding anything to your actual methods. There is also an example[3] online, showing all three methods in action. I know that this gem might be quite controversial because it is patching core classes, but I tried to take care that I won't actually break anything, it should even work with other libraries that have their own "method describing" methods. If you have any ideas, bugs or criticism, or even if you just appreciate the idea, answer this thread (or fork and patch it, heh) Links [1] http://rubyforge.org/projects/keywordargs/ [2] http://github.com/dominikh/keyword_arguments/tree/master [3] http://github.com/dominikh/keyword_arguments/blob/7c9574f926ecea514f0a4= e153698c57e3b884091/README.markdown --=20 Dominik Honnef dominikho@gmx.net --O8XZ+2Hy8Kj8wLPZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkpqZtgACgkQePZ2jI1LDtdnbgCcD9YI9EcVxwnlghx/QCtJbAJf 2WcAn17o4RY+wyZccqGVUIRIGCAhh6n7 =f01n -----END PGP SIGNATURE----- --O8XZ+2Hy8Kj8wLPZ--