⚝
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
/
Array
/
View File Name :
select%21-i.ri
U:RDoc::AnyMethod[iI"select!:ETI"Array#select!;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=Calls the block, if given with each element of +self+; ;TI"Uremoves from +self+ those elements for which the block returns +false+ or +nil+.;To:RDoc::Markup::BlankLine o; ; [I"1Returns +self+ if any elements were removed:;To:RDoc::Markup::Verbatim; [I" a = [:foo, 'bar', 2, :bam] ;TI"Ma.select! {|element| element.to_s.start_with?('b') } # => ["bar", :bam] ;T:@format0o; ; [I"/Returns +nil+ if no elements were removed.;T@o; ; [I"1Returns a new \Enumerator if no block given:;To;; [I" a = [:foo, 'bar', 2, :bam] ;TI"Ba.select! # => #
;T; 0o; ; [I"1Array#filter! is an alias for Array#select!.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"Sarray.select! {|element| ... } -> self or nil array.select! -> new_enumerator ;T0[[I"filter!;T@ I"();T@$FI" Array;TcRDoc::NormalClass00