summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2026-01-06 16:13:15 -0600
committerGitHub <noreply@github.com>2026-01-06 17:13:15 -0500
commit58fb95af36c86b00b134db5275becf7455ba4790 (patch)
tree36ceb4e9803a78fd645fd73c704a7b22674aaa28 /numeric.c
parent49ca241d6d5f589dec8f42fecdc8ecb96690b859 (diff)
[DOC] Harmonize #== methods (#15805)
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 8f866d00bd..ef44febe1b 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1501,7 +1501,7 @@ num_equal(VALUE x, VALUE y)
* call-seq:
* self == other -> true or false
*
- * Returns +true+ if +other+ has the same value as +self+, +false+ otherwise:
+ * Returns whether +other+ is numerically equal to +self+:
*
* 2.0 == 2 # => true
* 2.0 == 2.0 # => true
@@ -4852,7 +4852,7 @@ fix_equal(VALUE x, VALUE y)
* call-seq:
* self == other -> true or false
*
- * Returns +true+ if +self+ is numerically equal to +other+; +false+ otherwise.
+ * Returns whether +self+ is numerically equal to +other+:
*
* 1 == 2 #=> false
* 1 == 1.0 #=> true