Issue #4760 has been updated by Yusuke Endoh.

Status changed from Closed to Open

Hello,

> Returns the key of the first occurrence of a given value.

Is this really guaranteed?

Writing a rdoc means deciding a spec.
Do not decide a spec without discussion.
Eric, please be careful to review a document patch.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #4760: Some documentation improvements for Hash#key
http://redmine.ruby-lang.org/issues/4760

Author: Utkarsh Kukreti
Status: Open
Priority: Normal
Assignee: Eric Hodel
Category: DOC
Target version: 
ruby -v: 1.9.2


Added some documentation for Hash#key, when a Hash contains more than one key with the same value.


-- 
http://redmine.ruby-lang.org