summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 05:01:29 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 05:01:29 +0000
commitea1b7a95777fb5ca231dbc54c38d3b5fb61abd19 (patch)
tree04b60d337e6380e49d2620f1922e93221b0a8c4e /numeric.c
parent20a2b656c2cbaac6585cf8bf7b8b4f37ad7877ba (diff)
* time.c: rdoc fix for <=>
* array.c: ditto * bignum.c: ditto * compar.c: ditto * file.c: ditto * numeric.c: ditto * string.c: rdoc fix for <=> and casecmp git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 0936c6916f..957cf7b0e6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -914,7 +914,7 @@ rb_dbl_cmp(a, b)
/*
* call-seq:
- * flt <=> numeric => -1, 0, +1
+ * flt <=> numeric => -1, 0, +1 or nil
*
* Returns -1, 0, or +1 depending on whether <i>flt</i> is less than,
* equal to, or greater than <i>numeric</i>. This is the basis for the
@@ -2423,7 +2423,7 @@ fix_equal(x, y)
/*
* call-seq:
- * fix <=> numeric => -1, 0, +1
+ * fix <=> numeric => -1, 0, +1 or nil
*
* Comparison---Returns -1, 0, or +1 depending on whether <i>fix</i> is
* less than, equal to, or greater than <i>numeric</i>. This is the