U:RDoc::AnyMethod[iI"-:ETI" Array#-;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"Array Difference;To:RDoc::Markup::BlankLineo; ; [I"LReturns a new array that is a copy of the original array, removing any ;TI"Litems that also appear in +other_ary+. The order is preserved from the ;TI"original array.;T@o; ; [I"MIt compares elements using their #hash and #eql? methods for efficiency.;T@o:RDoc::Markup::Verbatim; [I"@[ 1, 1, 2, 2, 3, 3, 4, 5 ] - [ 1, 2, 4 ] #=> [ 3, 3, 5 ] ;T: @format0o; ; [I">If you need set-like behavior, see the library class Set.;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