End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
NilClass#nil?
nil.nil? → true
object.c
View on GitHub ↗
static VALUE
rb_true(VALUE obj)
{
return Qtrue;
}
Only the object nil responds true to nil?.