summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:50:59 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-29 13:50:59 +0000
commit1e90c8ceb37dac03692562fd24b72a1de8f40d8b (patch)
treef0be03bd459856f91ffb5f84558e9e50190367c2 /array.c
parent256edc39b0586f0251e80d2b181cbd14f2ee6d9e (diff)
Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 07a5e5f3ea..d452eade3a 100644
--- a/array.c
+++ b/array.c
@@ -2751,7 +2751,7 @@ rb_ary_compact(VALUE ary)
* array.count { |item| block } -> int
*
* 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.count(2) # => 2