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

* enumerator.c (enum_each_cons): typo in RDoc fixed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-06-20 19:41:29 +00:00
parent 09f4a8643c
commit b8b6c4894a
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@ Sat Jun 21 04:36:59 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi): * ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian::dfdxi):
typo fixed (raize -> raise). [ruby-list:45101] typo fixed (raize -> raise). [ruby-list:45101]
* enumerator.c (enum_each_cons): typo in RDoc fixed.
Sat Jun 21 00:45:34 2008 URABE Shyouhei <shyouhei@ruby-lang.org> Sat Jun 21 00:45:34 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* tool/make-snapshot: do not use sha256sum; use BASERUBY instead * tool/make-snapshot: do not use sha256sum; use BASERUBY instead

View file

@ -169,7 +169,7 @@ each_cons_i(VALUE val, VALUE *memo)
* each_cons(n) * each_cons(n)
* *
* Iterates the given block for each array of consecutive <n> * Iterates the given block for each array of consecutive <n>
* elements. If no block is given, returns an enumerator.a * elements. If no block is given, returns an enumerator.
* *
* e.g.: * e.g.:
* (1..10).each_cons(3) {|a| p a} * (1..10).each_cons(3) {|a| p a}