From: Stefano Crocco Date: 2008-08-01T22:28:27+09:00 Subject: Re: Using array.select with grep On Friday 01 August 2008, shadowfirebird@gmail.com wrote: > Someone please correct me if I'm barking up the wrong tree, but the > block in select wants a function that returns a logical, and grep > isn't one. Everything in ruby can be used as a boolean value, so technically you can use it. The only problem is that the value grep returns is always a 'true' value. Stefano