= private = protected
proper_superset?(set)
Returns true if the set is a proper superset of the given set.
# File lib/set.rb, line 251 def proper_superset?(set) case when set.instance_of?(self.class) @hash > set.instance_variable_get(:@hash) when set.is_a?(Set) size > set.size && set.all? { |o| include?(o) } else raise ArgumentError, "value must be a set" end end