Module: SetFuMixinBinarySubsetOperator

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

Instance Method Summary collapse

Instance Method Details

#<=(item) ⇒ Object



411
412
413
414
415
# File 'lib/setfu.rb', line 411

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