1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

merges r29043 from trunk into ruby_1_9_2.

--
* 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/branches/ruby_1_9_2@29369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2010-09-29 12:25:19 +00:00
parent 91b4ac3fb6
commit 15fd502f53
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 19 11:11:24 2010 NARUSE, Yui <naruse@ruby-lang.org>
* enum.c (enum_inject): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31768]
Thu Aug 19 06:03:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Aug 19 06:03:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch * vm_insnhelper.c (vm_push_frame): initialize block_iseq. a patch

2
enum.c
View file

@ -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 * operation, specified by a block or a symbol that names a
* method or operator. * 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. * 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 * If you specify a symbol instead, then each element in the collection
* will be passed to the named method of <i>memo</i>. * will be passed to the named method of <i>memo</i>.

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "1.9.2" #define RUBY_VERSION "1.9.2"
#define RUBY_RELEASE_DATE "2010-09-29" #define RUBY_RELEASE_DATE "2010-09-29"
#define RUBY_PATCHLEVEL 2 #define RUBY_PATCHLEVEL 3
#define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_MINOR 9