Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Numeric#zero?
() -> bool
zero? → true or false
numeric.c
View on GitHub ↗
static VALUE
num_zero_p(VALUE num)
{
return rb_equal(num, INT2FIX(0));
}