From: "David A. Black" Date: 2008-05-27T21:51:27+09:00 Subject: Re: [PATCH] lambda with normal block syntax Hi -- On Tue, 27 May 2008, Eric Mahurin wrote: > On Tue, May 27, 2008 at 4:49 AM, David A. Black wrote: > >> Maybe the same rule could be applied to {||...} lambda objects (as >> opposed to the code block) that is now applied to hashes: >> >> meth {} # code block >> meth({}) # one hash argument >> meth {||} # code block >> meth({||}) # one lambda object argument > > > That's exactly what this patch does. And what ruby 1.9 did from r8044 to > r8846 ("->" came with r8847). Whoops, I came full circle without realizing it. David -- Rails training from David A. Black and Ruby Power and Light: INTRO TO RAILS June 9-12 Berlin ADVANCING WITH RAILS June 16-19 Berlin INTRO TO RAILS June 23-26 London (Skills Matter) See http://www.rubypal.com for details and updates!