D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Hash
/
Filename :
key-i.ri
back
Copy
U:RDoc::AnyMethod[iI"key:ETI" Hash#key;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FReturns the key for the first-found entry with the given +value+ ;TI"4(see {Entry Order}[rdoc-ref:Hash@Entry+Order]):;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 2, baz: 2} ;TI"h.key(0) # => :foo ;TI"h.key(2) # => :bar ;T:@format0o; ; [I"-Returns +nil+ if no such value is found.;T: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"#hash.key(value) -> key or nil ;T0[ I" (p1);T@FI" Hash;TcRDoc::NormalClass00