Module: SetFuMixinBinaryOrOperator

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

Instance Method Summary collapse

Instance Method Details

#|(item) ⇒ Object



1085
1086
1087
1088
1089
# File 'lib/setfu.rb', line 1085

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