mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
3341db313a
commit
3569c6c3a6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 16 18:50:08 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* 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 <akr@fsij.org>
|
||||
|
||||
* bignum.c (bary_mul_karatsuba): Avoid duplicate calculation when
|
||||
|
|
2
array.c
2
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.
|
||||
|
|
Loading…
Reference in a new issue