Ruby Mailing List Mirror
Is there an "in" operator in ruby?
ruby-talk
7rans
(7rans)
19 April 2006 19:07
1
@test=[2,4,6,8]
(
@test
& (1..10).to_a).each { |x| ... }
T.
Related topics
Topic
Replies
Views
Activity
Is there an "in" operator in ruby?
ruby-talk
0
103
19 April 2006
Is there an "in" operator in ruby?
ruby-talk
12
108
19 April 2006
Set operation
ruby-talk
5
103
27 November 2002
Knowledge Base (Re: set operation)
ruby-talk
5
119
28 November 2002
For loops trouble
ruby-talk
5
99
17 April 2011