= private = protected
proper_superset?(set)
Returns true if the set is a proper superset of the given set.
# File lib/set.rb, line 170 def proper_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