From: Louis J Scoras Date: 2005-10-25T04:30:02+09:00 Subject: Re: A comparison by example of keyword argument styles ------=_Part_30460_2815067.1130182199669 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Right, so this is probably a really dumb idea, but I was just having a little bit of fun. It would be cool if you could define methods like this: define :foo do required :bar, :baz optional :request =3D> 'useless' named :side, :meat =3D> 'fish' body do puts "Good, I got to say #{foo}#{bar}." puts "You thought of my third request was #{request}" puts "For dinner we have #{meat}" if side puts "With a side of #{side}" end end end foo 'hello ', 'world', :meat =3D> 'steak', :side =3D> 'potatoes' That is the first few times you wrote a definition like that. Then it would get very old very quickly I'm assuming ;) ------=_Part_30460_2815067.1130182199669--