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/replace-c.ri
U:RDoc::AnyMethod[iI"replace:ETI"ENV::replace;TT:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I">Replaces the entire content of the environment variables ;TI"4with the name/value pairs in the given +hash+; ;TI"returns ENV.;To:RDoc::Markup::BlankLine o; ; [I"6Replaces the content of ENV with the given pairs:;To:RDoc::Markup::Verbatim; [I"6ENV.replace('foo' => '0', 'bar' => '1') # => ENV ;TI"/ENV.to_hash # => {"bar"=>"1", "foo"=>"0"} ;T:@format0o; ; [I"8Raises an exception if a 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.replace(hash) -> ENV ;T0[ I" (p1);T@FI"ENV;TcRDoc::NormalClass00