https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112015-01-11T14:29:19ZRuby Issue Tracking SystemRuby master - Feature #10729: Array method to subtract in placehttps://redmine.ruby-lang.org/issues/10729?journal_id=509292015-01-11T14:29:19ZEregon (Benoit Daloze)
<ul></ul><p>The block form can be achieved with Enumerable#partition.</p>
<p>I agree in general splitting an array, according to some property using the order of the elements (no take_drop_while) or to some other array (this request) is more difficult than it could be.</p>