From: Rick DeNatale Date: 2008-05-28T00:25:56+09:00 Subject: Re: OOP in Ruby? On Tue, May 27, 2008 at 11:14 AM, Robert Dober wrote: > Anyway, I will tell you what is important to me: > Blocks in Ruby are Proc objects, always, can you agree with this > statement, I don't think that this is true Robert. For example: def foo yield end foo {} doesn't create a proc. > > Please note also Eric's patch making > {|x| x} equivalent to > lambda{|x| x} > this shows clearly that we are talking syntax here and not object semantics. > Except that Eric had to redo the patch because he ran into an issue with yield vs. call semantics. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/