U:RDoc::AnyMethod[iI"&:ETI" Array#&;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"WSet Intersection --- Returns a new array containing unique elements common to the ;TI"@two arrays. The order is preserved from the original array.;To:RDoc::Markup::BlankLineo; ; [I"MIt compares elements using their #hash and #eql? methods for efficiency.;T@o:RDoc::Markup::Verbatim; [I"?[ 1, 1, 3, 5 ] & [ 3, 2, 1 ] #=> [ 1, 3 ] ;TI"C[ 'a', 'b', 'b', 'z' ] & [ 'a', 'b', 'c' ] #=> [ 'a', 'b' ] ;T: @format0o; ; [I"See also Array#uniq.;T: @fileI" array.c;T:0@omit_headings_from_table_of_contents_below0I"%ary & other_ary -> new_ary ;T0[I" (p1);T@FI" Array;TcRDoc::NormalClass00