Project

General

Profile

This project is closed and read-only.

Bug #1545 » 0004-hash.c-rassoc_i-Minor-stylistic-tweak-to-docs.patch

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

View differences:

hash.c
* hash.rassoc(key) -> an_array or nil
*
* Searches through the hash comparing _obj_ with the value using <code>==</code>.
* Returns the first key-value pair (two elements array) that matches. See
* Returns the first key-value pair (two-element array) that matches. See
* also <code>Array#rassoc</code>.
*
* a = {1=> "one", 2 => "two", 3 => "three", "ii" => "two"}
(6-6/7)