* array.c (rb_ary_choice): fixed mistake from RDoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-05-01 08:57:54 +00:00
Родитель 2b6252e64e
Коммит 82d5106e09
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -3,6 +3,8 @@ Tue May 1 17:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* array.c (rb_ary_choice): a new method to choose an element * array.c (rb_ary_choice): a new method to choose an element
randomly from an array. randomly from an array.
* array.c (rb_ary_choice): fixed mistake from RDoc.
Tue May 1 13:59:18 2007 Koichi Sasada <ko1@atdot.net> Tue May 1 13:59:18 2007 Koichi Sasada <ko1@atdot.net>
* proc.c (proc_arity): fix an arity bug ([ruby-core:11060]). * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]).

Просмотреть файл

@ -2943,7 +2943,7 @@ rb_ary_shuffle(VALUE ary)
/* /*
* call-seq: * call-seq:
* array.choice -> an_array * array.choice -> obj
* *
* Choose a random element from an array. * Choose a random element from an array.
*/ */