HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/ENV/shift-c.ri
U:RDoc::AnyMethod[iI"
shift:ETI"ENV::shift;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"ARemoves the first environment variable from ENV and returns ;TI"5a 2-element Array containing its name and value:;To:RDoc::Markup::Verbatim;	[	I"-ENV.replace('foo' => '0', 'bar' => '1')
;TI"3ENV.to_hash # => {'bar' => '1', 'foo' => '0'}
;TI"!ENV.shift # => ['bar', '1']
;TI"%ENV.to_hash # => {'foo' => '0'}
;T:@format0o;
;	[I"DExactly which environment variable is "first" is OS-dependent. ;TI";See {About Ordering}[#class-ENV-label-About+Ordering].;To:RDoc::Markup::BlankLineo;
;	[I"/Returns +nil+ if the environment is empty:;To;;	[I"ENV.clear
;TI"ENV.shift # => nil;T;0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"'ENV.shift -> [name, value] or nil
;T0[I"();T@!FI"ENV;TcRDoc::NormalClass00