Module: SetFuMixinBinaryOrOperator

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

Instance Method Summary collapse

Instance Method Details

#|(item) ⇒ Object



542
543
544
545
546
# File 'lib/setfu.rb', line 542

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