Project

General

Profile

This project is closed and read-only.

Bug #1545 » 0005-hash.c-rb_hash_rassoc-Fix-typo-in-documentation.patch

runpaint (Run Paint Run Run), 05/31/2009 12:38 PM

View differences:

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"}
(7-7/7)