summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/object.c b/object.c
index 0eb766846b..aa203dd892 100644
--- a/object.c
+++ b/object.c
@@ -1160,7 +1160,12 @@ rb_obj_not_match(VALUE obj1, VALUE obj2)
}
-/* :nodoc: */
+/*
+ * call-seq:
+ * obj <=> other -> 0 or nil
+ *
+ * Returns 0 if obj === other, otherwise nil.
+ */
static VALUE
rb_obj_cmp(VALUE obj1, VALUE obj2)
{