End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
TrueClass#&
true & obj → true or false
object.c
View on GitHub ↗
static VALUE
true_and(VALUE obj, VALUE obj2)
{
return RBOOL(RTEST(obj2));
}
And—Returns false if obj is nil or false, true otherwise.