diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2026-01-06 16:13:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-06 17:13:15 -0500 |
| commit | 58fb95af36c86b00b134db5275becf7455ba4790 (patch) | |
| tree | 36ceb4e9803a78fd645fd73c704a7b22674aaa28 /numeric.c | |
| parent | 49ca241d6d5f589dec8f42fecdc8ecb96690b859 (diff) | |
[DOC] Harmonize #== methods (#15805)
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
