From: Jake McArthur Date: 2006-04-20T01:14:31+09:00 Subject: Re: Is there an "in" operator in ruby ? If Array was extended with some set theory, things like this would be possible: @test.intersect([1..10]).each { |item| puts item } :) - Jake McArthur