From: dblack@... Date: 2007-08-09T00:04:38+09:00 Subject: Re: case statement Hi -- On Wed, 8 Aug 2007, Shai Rosenfeld wrote: > David, what is this all? method? is it a Array#method ? i didn't find it > in the docs..? > > [*a].all? {|e| include?(a) } and not [*b].any? {|e| include?(e) } It's a method of Enumerable. 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)