зеркало из https://github.com/github/ruby.git
* array.c (rb_ary_shuffle): RDoc fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c22af575a1
Коммит
54b7c5d560
|
@ -1,3 +1,7 @@
|
|||
Fri Sep 1 14:22:42 2006 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* array.c (rb_ary_shuffle): RDoc fixed.
|
||||
|
||||
Fri Sep 1 13:52:57 2006 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work
|
||||
|
|
4
array.c
4
array.c
|
@ -2828,8 +2828,8 @@ rb_ary_shuffle_bang(VALUE ary)
|
|||
*
|
||||
* Returns a new array that with elements of this array shuffled.
|
||||
*
|
||||
* s = [ 1, 2, 3 ] #=> [1, 2, 3]
|
||||
* a.shuffle #=> [1, 2, 3]
|
||||
* a = [ 1, 2, 3 ] #=> [1, 2, 3]
|
||||
* a.shuffle #=> [2, 3, 1]
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
|
Загрузка…
Ссылка в новой задаче