Returns true if the set is a proper superset of the given set.
Source Code
# File set.rb, line 166 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
<code/>and<pre/>for code samples.