End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
FalseClass#&
false & obj → false
nil & obj → false
object.c
View on GitHub ↗
static VALUE
false_and(VALUE obj, VALUE obj2)
{
return Qfalse;
}
And—Returns false. obj is always evaluated as it is the argument to a method call—there is no short-circuit evaluation in this case.