Hi --

On Sat, 18 Aug 2007, John Lam (CLR) wrote:

> Thanks! That's what the behavior seemed to indicate.

I think that in 1.9, proc and Proc.new will be identical, and lambda
will be different. This came up at RubyConf 2003, where Matz agreed
that it was confusing to have proc and Proc.new return different
things, and said he would deprecate proc. I think proc is staying, but
it won't be different from Proc.new; at least, that's my current
understanding.


David

-- 
* Books:
   RAILS ROUTING (new! http://www.awprofessional.com/title/0321509242)
   RUBY FOR RAILS (http://www.manning.com/black)
* Ruby/Rails training
     & consulting:  Ruby Power and Light, LLC (http://www.rubypal.com)