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