File: //usr/share/ri/3.0.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"7Raises an exception if a name or value is invalid ;TI"Q(see {Invalid Names and Values}[#class-ENV-label-Invalid+Names+and+Values]):;To;; [I"nENV.replace('foo' => '0', :bar => '1') # Raises TypeError (no implicit conversion of Symbol into String)
;TI"nENV.replace('foo' => '0', 'bar' => 1) # Raises TypeError (no implicit conversion of Integer into String)
;TI".ENV.to_hash # => {"bar"=>"1", "foo"=>"0"};T;
0:
@fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"ENV.replace(hash) -> ENV
;T0[ I" (p1);T@!FI"ENV;TcRDoc::NormalClass00