Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
ENV
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/ENV/replace-c.ri
U:RDoc::AnyMethod[iI"replace:ETI"ENV::replace;TT:publico: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