From: dblack@... Date: 2006-09-28T08:33:38+09:00 Subject: Re: Injecting truth Hi -- On Thu, 28 Sep 2006, Mike Harris wrote: > How about (1..5).map { |x| x < 3 }.all? Whoops, I didn't see that before I (re)posted it :-) 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