[DOC] Tweak for Array::[]

This commit is contained in:
BurdetteLamar 2024-08-02 17:09:33 +01:00 committed by Peter Zhu
parent 47c45d5c18
commit be959c040e
Notes: git 2024-08-06 18:39:36 +00:00

View File

@ -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[] # => []