Is there an "in" operator in ruby?


#1

@test=[2,4,6,8]

(@test & (1…10).to_a).each { |x| … }

T.