Module: SetFuMixinBinaryIntersectionOperator
Instance Method Summary collapse
-
#**(item) ⇒ Object
intersection test.
Instance Method Details
#**(item) ⇒ Object
intersection test
1101 1102 1103 1104 1105 |
# File 'lib/setfu.rb', line 1101 def **(item) # intersection test a = BitSet.new(self) b = BitSet.new(item) return a ** b end |