diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-12-15 20:35:27 +0000 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-12-15 17:27:54 -0500 |
| commit | acbf55f4e6658f94e49f28b4df21ab0c29683c4b (patch) | |
| tree | 32e6986b1df07f45637d120c5b220af18ebd7e05 /numeric.c | |
| parent | 7fbf321d23f3cc20988c80fae25ce131a5d1b231 (diff) | |
[DOC] Harmonize #- methods
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1089,7 +1089,7 @@ rb_float_plus(VALUE x, VALUE y) * call-seq: * self - other -> numeric * - * Returns a new \Float which is the difference of +self+ and +other+: + * Returns the difference of +self+ and +other+: * * f = 3.14 * f - 1 # => 2.14 @@ -4197,9 +4197,9 @@ fix_minus(VALUE x, VALUE y) /* * call-seq: - * self - numeric -> numeric_result + * self - other -> numeric * - * Performs subtraction: + * Returns the difference of +self+ and +other+: * * 4 - 2 # => 2 * -4 - 2 # => -6 |
