End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
NilClass#=~
nil =~ other → nil
object.c
View on GitHub ↗
static VALUE
nil_match(VALUE obj1, VALUE obj2)
{
return Qnil;
}
Dummy pattern matching – always returns nil.