Module: SetFuMixinBinarySubsetOperator

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

Instance Method Summary collapse

Instance Method Details

#<=(item) ⇒ Object



590
591
592
593
594
# File 'lib/setfu.rb', line 590

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