File: //usr/share/ri/3.0.0/system/Array/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 <tt>eql?</tt>:;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