Module: SetFuMixinBinaryAndOperator

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

Overview

end Set

Instance Method Summary collapse

Instance Method Details

#&(item) ⇒ Object



355
356
357
358
359
# File 'lib/setfu.rb', line 355

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