зеркало из https://github.com/github/ruby.git
[DOC] Tweak for Array::[]
This commit is contained in:
Родитель
47c45d5c18
Коммит
be959c040e
2
array.c
2
array.c
|
@ -1163,7 +1163,7 @@ rb_ary_initialize(int argc, VALUE *argv, VALUE ary)
|
|||
}
|
||||
|
||||
/*
|
||||
* Returns a new +Array+ object, populated with the given objects:
|
||||
* Returns a new array, populated with the given objects:
|
||||
*
|
||||
* Array[1, 'a', /^A/] # => [1, "a", /^A/]
|
||||
* Array[] # => []
|
||||
|
|
Загрузка…
Ссылка в новой задаче