⚝
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 :
intersection-i.ri
U:RDoc::AnyMethod[iI"intersection:ETI"Array#intersection;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReturns a new \Array containing each element found both in +self+ ;TI"4and in all of the given Arrays +other_arrays+; ;TI"Dduplicates are omitted; items are compared using
eql?
:;To:RDoc::Markup::Verbatim; [I"A[0, 1, 2, 3].intersection([0, 1, 2], [0, 1, 3]) # => [0, 1] ;TI"G[0, 0, 1, 1, 2, 3].intersection([0, 1, 2], [0, 1, 3]) # => [0, 1] ;T:@format0o; ; [I"!Preserves order from +self+:;To;; [I"6[0, 1, 2].intersection([2, 1, 0]) # => [0, 1, 2] ;T;0o; ; [I"4Returns a copy of +self+ if no arguments given.;To:RDoc::Markup::BlankLine o; ; [I"Related: Array#&.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"4array.intersection(*other_arrays) -> new_array ;T0[ I"(*args);T@!FI" Array;TcRDoc::NormalClass00