From: Dave Thomas Date: 2004-03-04T11:56:27+09:00 Subject: Re: concerns about Proc,lambda,block On Mar 3, 2004, at 18:59, Yukihiro Matsumoto wrote: > |http://www.pragmaticprogrammer.com/extracts/blocks.pdf > > I checked. Some of your description is based on bugs I fixed already. > For example, > > def meth1(&block) > block.call > end > > res = meth1 do > break 99 > end > That's strange, as the code in the book is formatted live with the latest CVS version of Ruby 1.8, and the exception is definitely being raised. Am I using the wrong branch? (I'm trying to update the book for the ruby_1_8 branch, which I assumed would be the stable one for the next year or so) Cheers Dave