Check if an array is subset of another array in Ruby June 4, 2023 by Tarik Easiest may be: (a1 - a2).empty?