summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 215f6fedb9..13a2c6124d 100644
--- a/array.c
+++ b/array.c
@@ -4113,7 +4113,7 @@ rb_ary_compact(VALUE ary)
* Returns the number of elements.
*
* If an argument is given, counts the number of elements which equal +obj+
- * using <code>===</code>.
+ * using <code>==</code>.
*
* If a block is given, counts the number of elements for which the block
* returns a true value.