summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-12 03:50:58 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-12 03:50:58 +0000
commit8b129406c606800888610403f1afb57baeb515e2 (patch)
treee6cfc59378f043cf2dff3c1126af62021b160973
parent66ef9b9310f5ce7fa58e44185160d56ceebd410f (diff)
Module#<=> is not suitable for Comparable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/object.c b/object.c
index 46e39ea..ed5d12e 100644
--- a/object.c
+++ b/object.c
@@ -1629,7 +1629,7 @@ rb_mod_gt(VALUE mod, VALUE arg)
*
* Comparison---Returns -1, 0, +1 or nil depending on whether +module+
* includes +other_module+, they are the same, or if +module+ is included by
- * +other_module+. This is the basis for the tests in Comparable.
+ * +other_module+.
*
* Returns +nil+ if +module+ has no relationship with +other_module+, if
* +other_module+ is not a module, or if the two values are incomparable.