diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-09 05:52:09 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-09 05:52:09 +0000 |
commit | 3a701d728184d31c7abb7a106b78b7630b575081 (patch) | |
tree | c97cd4287f74bece03fcc6babf81cee511693063 /enumerator.c | |
parent | 03d38468ac4ea2493eb24fc17c44177ca9b2c7c1 (diff) |
Slightly fix rdoc of with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c index 618bd5eeec..f55c3d8f6e 100644 --- a/enumerator.c +++ b/enumerator.c @@ -407,7 +407,7 @@ enumerator_with_index_i(VALUE val, VALUE *memo) /* * call-seq: * e.with_index(offset = 0) {|(*args), idx| ... } - * e.with_index + * e.with_index(offset = 0) * * Iterates the given block for each element with an index, which * starts from +offset+. If no block is given, returns an enumerator. |