[DOC] Tweak for Array::[]
This commit is contained in:
parent
47c45d5c18
commit
be959c040e
Notes:
git
2024-08-06 18:39:36 +00:00
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[1, 'a', /^A/] # => [1, "a", /^A/]
|
||||||
* Array[] # => []
|
* Array[] # => []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user