diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2026-01-05 16:18:16 +0000 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2026-01-05 18:23:55 -0500 |
| commit | a25f4689175b5b0f7da0831dbcedf86b62f67e19 (patch) | |
| tree | f70698c17175a36c6c78c5efe0ceb64fd8ccb333 /numeric.c | |
| parent | 7a1180afb665286556315bcf27188263854b213b (diff) | |
[DOC] Harmonize #>= methods
Diffstat (limited to 'numeric.c')
| -rw-r--r-- | numeric.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1674,7 +1674,8 @@ rb_float_gt(VALUE x, VALUE y) * call-seq: * self >= other -> true or false * - * Returns +true+ if +self+ is numerically greater than or equal to +other+: + * Returns whether the value of +self+ is greater than or equal to the value of +other+; + * +other+ must be numeric, but may not be Complex: * * 2.0 >= 1 # => true * 2.0 >= 1.0 # => true @@ -5001,10 +5002,10 @@ fix_ge(VALUE x, VALUE y) /* * call-seq: - * self >= real -> true or false + * self >= other -> true or false * - * Returns +true+ if the value of +self+ is greater than or equal to - * that of +other+: + * Returns whether the value of +self+ is greater than or equal to the value of +other+; + * +other+ must be numeric, but may not be Complex: * * 1 >= 0 # => true * 1 >= 1 # => true |
