From 3569c6c3a611a5e0ed8b84e1dad27f0a31568d80 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 16 Jul 2013 09:50:11 +0000 Subject: array.c: fix typo * array.c (rb_ary_count): [DOC] fix typo. Array#count uses ==, not ===. a question at asakusa.rb ML. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ array.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5e957fc9b1..5f90d7c7f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 16 18:50:08 2013 Nobuyoshi Nakada + + * array.c (rb_ary_count): [DOC] fix typo. Array#count uses ==, not + ===. a question at asakusa.rb ML. + Tue Jul 16 18:35:48 2013 Tanaka Akira * bignum.c (bary_mul_karatsuba): Avoid duplicate calculation when 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 ===. + * using ==. * * If a block is given, counts the number of elements for which the block * returns a true value. -- cgit v1.2.3