[DOC] Enhance Numeric#nonzero? doc

Add `zero?` as a related method
This commit is contained in:
Artur 2024-04-26 15:33:41 +03:00 committed by GitHub
parent 25a8b76c76
commit dd578cf2f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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