From: wsdng@... (=?ISO-8859-1?Q?Sascha_D=F6rdelmann?=) Date: 2003-08-01T21:10:29+09:00 Subject: Re: Changing ==,>,<, etc Mark Wilson wrote: > What you want can be done with the any? method for arrays. > > [1, 2, 3].any? { |e| 1 < e } > > There's also an all? method. What I like at this container based solution is that you can oversee the overall complexity of the statement. Other solutions might require more explicit knowledge about complexity issues. Cheers Sascha