⚝
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 :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
ENV
/
View File Name :
delete-c.ri
U:RDoc::AnyMethod[iI"delete:ETI"ENV::delete;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"UDeletes the environment variable with +name+ if it exists and returns its value:;To:RDoc::Markup::Verbatim; [I"ENV['foo'] = '0' ;TI" ENV.delete('foo') # => '0' ;T:@format0o; ; [I"^If a block is not given and the named environment variable does not exist, returns +nil+.;To:RDoc::Markup::BlankLine o; ; [I"CIf a block given and the environment variable does not exist, ;TI"Cyields +name+ to the block and returns the value of the block:;To;; [I"9ENV.delete('foo') { |name| name * 2 } # => "foofoo" ;T;0o; ; [I";If a block given and the environment variable exists, ;TI"Qdeletes the environment variable and returns its value (ignoring the block):;To;; [I"ENV['foo'] = '0' ;TI";ENV.delete('foo') { |name| raise 'ignored' } # => "0" ;T;0o; ; [I"/Raises an exception if +name+ 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.delete(name) -> value ENV.delete(name) { |name| block } -> value ENV.delete(missing_name) -> nil ENV.delete(missing_name) { |name| block } -> block_value ;T0[ I" (p1);T@)FI"ENV;TcRDoc::NormalClass00