End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
NilClass#inspect
nil.inspect → "nil"
object.c
View on GitHub ↗
static VALUE
nil_inspect(VALUE obj)
{
return rb_usascii_str_new2("nil");
}
Always returns the string “nil”.