Module: SetFuMixinBinarySubsetOperator

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

Instance Method Summary collapse

Instance Method Details

#<=(item) ⇒ Object



1133
1134
1135
1136
1137
# File 'lib/setfu.rb', line 1133

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