require 'set' a1 = Set[3,6,4]a2 = Set[1,2,3,4,5,6,7,8,9] puts a1.subset?(a2)
Standard input is empty
true
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!