From: Yehuda Katz Date: 2009-08-23T11:35:30+09:00 Subject: [ruby-core:25045] Re: Proposal: Simpler block format Yes. It would apply to cases NOT already handled by the current parser Sent from my iPhone On Aug 22, 2009, at 7:09 PM, Rick DeNatale wrote: > On Sat, Aug 22, 2009 at 8:04 PM, Yehuda Katz wrote: >> Essentially, any use of {} that was not a Hash would become a proc > > A subtlety, I think > > def m > yield > end > > m {"this is a block not a proc"} > > The point is that block arguments in method calls outside of the > parameter list should not be converted to procs. > > > -- > Rick DeNatale > > Blog: http://talklikeaduck.denhaven2.com/ > Twitter: http://twitter.com/RickDeNatale > WWR: http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn: http://www.linkedin.com/in/rickdenatale >