From: shyouhei@... Date: 2016-04-04T07:03:10+00:00 Subject: [ruby-core:74798] [Ruby trunk Feature#12247] accept multiple arguments at Array#delete Issue #12247 has been updated by Shyouhei Urabe. +1 I needed this before too. For API consistency I would also want Hash#delete to accept multiple argumenrts as well. ---------------------------------------- Feature #12247: accept multiple arguments at Array#delete https://bugs.ruby-lang.org/issues/12247#change-57921 * Author: Usaku NAKAMURA * Status: Open * Priority: Normal * Assignee: ---------------------------------------- I found that it's very useful if `Array#delete` accepts multiple arguments. ```ruby ary = [1, 2, 3, 4, 5] ary.delete(1, 3) #=> [1, 3] ary #=> [2, 4, 5] ``` ---Files-------------------------------- delete_multi.patch (4.6 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: