Skip to content

Commit

Permalink
[DOC] Enhance Numeric#nonzero? doc
Browse files Browse the repository at this point in the history
Add `zero?` as a related method
  • Loading branch information
artur-intech committed Apr 26, 2024
1 parent 25a8b76 commit dd578cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numeric.c
Expand Up @@ -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
Expand Down

0 comments on commit dd578cf

Please sign in to comment.