Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
ENV
/
//opt/alt/ruby27/share/ri/system/ENV/key-c.ri
U:RDoc::AnyMethod[iI"key:ETI" ENV::key;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"RReturns the name of the first environment variable with +value+ if it exists:;To:RDoc::Markup::Verbatim; [I"-ENV.replace('foo' => '0', 'bar' => '1') ;TI"ENV.key('0') # =>'foo' ;T:@format0o; ; [I"LThe order in which environment variables are examined is OS-dependent. ;TI";See {About Ordering}[#class-ENV-label-About+Ordering].;To:RDoc::Markup::BlankLine o; ; [I"-Returns +nil+ if there is no such value:;To;; [I"ENV.key('2') # => nil ;T;0o; ; [I"4Raises an exception if +value+ is not a String:;To;; [I"ZENV.key(Object.new) # raises TypeError (no implicit conversion of Object into String);T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"#ENV.key(value) -> name or nil ;T0[ I" (p1);T@#FI"ENV;TcRDoc::NormalClass00