instance method
Set#proper_subset?
(self) -> bool
proper_subset?(set) → true or false
set.c
View on GitHub ↗
static VALUE
set_i_proper_subset(VALUE set, VALUE other)
{
check_set(other);
if (RSET_SIZE(set) >= RSET_SIZE(other)) return Qfalse;
return set_le(set, other);
}
Returns true if the set is a proper subset of the given set.