Module: SetFuMixinBinaryAndOperator

Included in:
Range, String
Defined in:
lib/setfu.rb

Overview

end BitSet

Instance Method Summary collapse

Instance Method Details

#&(item) ⇒ Object



617
618
619
620
621
# File 'lib/setfu.rb', line 617

def &(item)
  a = BitSet.new(self)
  b = BitSet.new(item)
  return a & b
end