summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-19 02:12:32 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-08-19 02:12:32 +0000
commitfee5e4ff5f427ac06b6ffd2891c7ef775324d483 (patch)
treebb74d2809819437b9fc214ceb780910613d886e7 /enum.c
parent078d19b29f689e4a17e86b134d563978eb7a5fd8 (diff)
* enum.c (enum_inject): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index fc8a3c35d2..32c33fb19c 100644
--- a/enum.c
+++ b/enum.c
@@ -527,7 +527,7 @@ inject_op_i(VALUE i, VALUE p, int argc, VALUE *argv)
* operation, specified by a block or a symbol that names a
* method or operator.
*
- * If you specify a block, then for each element in <i>enum<i>
+ * If you specify a block, then for each element in <i>enum</i>
* the block is passed an accumulator value (<i>memo</i>) and the element.
* If you specify a symbol instead, then each element in the collection
* will be passed to the named method of <i>memo</i>.