Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
256edc39b0
commit
1e90c8ceb3
2
array.c
2
array.c
@ -2751,7 +2751,7 @@ rb_ary_compact(VALUE ary)
|
|||||||
* array.count { |item| block } -> int
|
* array.count { |item| block } -> int
|
||||||
*
|
*
|
||||||
* Returns the number of elements which equals to <i>obj</i>.
|
* Returns the number of elements which equals to <i>obj</i>.
|
||||||
* If a block is given, counts tthe number of elements yielding a true value.
|
* If a block is given, counts the number of elements yielding a true value.
|
||||||
*
|
*
|
||||||
* ary = [1, 2, 4, 2]
|
* ary = [1, 2, 4, 2]
|
||||||
* ary.count(2) # => 2
|
* ary.count(2) # => 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user