зеркало из https://github.com/github/ruby.git
* array.c (Array#+): fix documentation example.
Patch by Logan Serman. [Fixes GH-324] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ee9c279e9b
Коммит
ed318080ad
|
@ -1,3 +1,8 @@
|
|||
Wed Jun 5 01:16:09 2013 Benoit Daloze <eregontp@gmail.com>
|
||||
|
||||
* array.c (Array#+): fix documentation example.
|
||||
Patch by Logan Serman. [Fixes GH-324]
|
||||
|
||||
Wed Jun 5 00:21:54 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* lib/irb/lc/ja/help-message: update help messages.
|
||||
|
|
5
array.c
5
array.c
|
@ -3357,8 +3357,9 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
|
|||
*
|
||||
* [ 1, 2, 3 ] + [ 4, 5 ] #=> [ 1, 2, 3, 4, 5 ]
|
||||
* a = [ "a", "b", "c" ]
|
||||
* a + [ "d", "e", "f" ]
|
||||
* a #=> [ "a", "b", "c", "d", "e", "f" ]
|
||||
* c = a + [ "d", "e", "f" ]
|
||||
* c #=> [ "a", "b", "c", "d", "e", "f" ]
|
||||
* a #=> [ "a", "b", "c" ]
|
||||
*
|
||||
* See also Array#concat.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче