summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2026-01-05 16:18:16 +0000
committerPeter Zhu <peter@peterzhu.ca>2026-01-05 18:23:55 -0500
commita25f4689175b5b0f7da0831dbcedf86b62f67e19 (patch)
treef70698c17175a36c6c78c5efe0ceb64fd8ccb333 /numeric.c
parent7a1180afb665286556315bcf27188263854b213b (diff)
[DOC] Harmonize #>= methods
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/numeric.c b/numeric.c
index 87d50ae4a1..8f866d00bd 100644
--- a/numeric.c
+++ b/numeric.c
@@ -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