From: dblack@... Date: 2006-09-28T08:35:10+09:00 Subject: Re: Injecting truth Hi -- On Thu, 28 Sep 2006, Joey wrote: > Hmm, why Enumerable#all? without short circuit? If you get to a point where > the block doesnt apply, then you might aswell break. The idea is that it's a case where you want the block to be executed, unconditionally, once for every element in the array, and also want to know whether at least one iteration returned false. David -- David A. Black | dblack@wobblini.net Author of "Ruby for Rails" [1] | Ruby/Rails training & consultancy [3] DABlog (DAB's Weblog) [2] | Co-director, Ruby Central, Inc. [4] [1] http://www.manning.com/black | [3] http://www.rubypowerandlight.com [2] http://dablog.rubypal.com | [4] http://www.rubycentral.org