Module: SetFuMixinBinarySubsetOperator

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

Instance Method Summary collapse

Instance Method Details

#<=(item) ⇒ Object



692
693
694
695
696
# File 'lib/setfu.rb', line 692

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