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 → !obj
object.c
View on GitHub ↗
static VALUE
true_xor(VALUE obj, VALUE obj2)
{
return rb_obj_not(obj2);
}
Exclusive Or—Returns true if obj is nil or false, false otherwise.