fork(12) download
  1. require 'set'
  2.  
  3. a1 = Set[3,6,4]
  4. a2 = Set[1,2,3,4,5,6,7,8,9]
  5.  
  6. puts a1.subset?(a2)
Success #stdin #stdout 0.01s 4892KB
stdin
Standard input is empty
stdout
true