From dd578cf2f134e915abdf41393fc08f29640fb9c9 Mon Sep 17 00:00:00 2001 From: Artur <22315378+artur-intech@users.noreply.github.com> Date: Fri, 26 Apr 2024 15:33:41 +0300 Subject: [PATCH] [DOC] Enhance `Numeric#nonzero?` doc Add `zero?` as a related method --- numeric.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/numeric.c b/numeric.c index f613d4120d..4db0834ae3 100644 --- a/numeric.c +++ b/numeric.c @@ -862,6 +862,8 @@ rb_int_zero_p(VALUE num) * Of the Core and Standard Library classes, * Integer, Float, Rational, and Complex use this implementation. * + * Related: #zero? + * */ static VALUE