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/store-c.ri
U:RDoc::AnyMethod[iI"
store:ETI"ENV::store;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"'ENV.store is an alias for ENV.[]=.;To:RDoc::Markup::BlankLineo;
;	[I"WCreates, updates, or deletes the named environment variable, returning the value. ;TI"9Both +name+ and +value+ may be instances of String. ;TI"KSee {Valid Names and Values}[#class-ENV-label-Valid+Names+and+Values].;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"6If the named environment variable does not exist:;To;;
;;[o;;0;	[o;
;	[I"'If +value+ is +nil+, does nothing.;To:RDoc::Markup::Verbatim;	[
I"ENV.clear
;TI"ENV['foo'] = nil # => nil
;TI"$ENV.include?('foo') # => false
;TI"$ENV.store('bar', nil) # => nil
;TI"$ENV.include?('bar') # => false
;T:@format0o;;0;	[o;
;	[I"WIf +value+ is not +nil+, creates the environment variable with +name+ and +value+:;To;;	[I"## Create 'foo' using ENV.[]=.
;TI"ENV['foo'] = '0' # => '0'
;TI"ENV['foo'] # => '0'
;TI"%# Create 'bar' using ENV.store.
;TI"$ENV.store('bar', '1') # => '1'
;TI"ENV['bar'] # => '1'
;T;0o;;0;	[o;
;	[I".If the named environment variable exists:;To;;
;;[o;;0;	[o;
;	[I"RIf +value+ is not +nil+, updates the environment variable with value +value+:;To;;	[I"## Update 'foo' using ENV.[]=.
;TI"ENV['foo'] = '2' # => '2'
;TI"ENV['foo'] # => '2'
;TI"%# Update 'bar' using ENV.store.
;TI"$ENV.store('bar', '3') # => '3'
;TI"ENV['bar'] # => '3'
;T;0o;;0;	[o;
;	[I";If +value+ is +nil+, deletes the environment variable:;To;;	[I"## Delete 'foo' using ENV.[]=.
;TI"ENV['foo'] = nil # => nil
;TI"$ENV.include?('foo') # => false
;TI"%# Delete 'bar' using ENV.store.
;TI"$ENV.store('bar', nil) # => nil
;TI"$ENV.include?('bar') # => false
;T;0o;
;	[I":Raises an exception if +name+ or +value+ is invalid. ;TI"OSee {Invalid Names and Values}[#class-ENV-label-Invalid+Names+and+Values].;T:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"$ENV.store(name, value) -> value;T0[I"
(p1, p2);T@[FI"ENV;TcRDoc::NormalClass00