= private = protected
superset?(set)
Returns true if the set is a superset of the given set.
# File lib/set.rb, line 159 def superset?(set) set.is_a?(Set) or raise ArgumentError, "value must be a set" return false if size < set.size set.all? { |o| include?(o) } end