This project is closed and read-only.
Bug #1545 » 0005-hash.c-rb_hash_rassoc-Fix-typo-in-documentation.patch
| hash.c | ||
|---|---|---|
|
* Returns a new array that is a one-dimensional flattening of this
|
||
|
* hash. That is, for every key or value that is an array, extract
|
||
|
* its elements into the new array. Unlike Array#flatten, this
|
||
|
* method does not flatten recursively by default. If the optional
|
||
|
* method does not flatten recursively by default. The optional
|
||
|
* <i>level</i> argument determines the level of recursion to flatten.
|
||
|
*
|
||
|
* a = {1=> "one", 2 => [2,"two"], 3 => "three"}
|
||
- « Previous
- 1
- …
- 5
- 6
- 7
- Next »