Module: SetFuMixinBinarySubsetOperator

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

Instance Method Summary collapse

Instance Method Details

#<=(item) ⇒ Object



673
674
675
676
677
# File 'lib/setfu.rb', line 673

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