without(*elements)
public
Returns a copy of the enumerable without the specified elements.
["David", "Rafael", "Aaron", "Todd"].without "Aaron", "Todd"
{foo: 1, bar: 2, baz: 3}.without :bar
# File activesupport/lib/active_support/core_ext/enumerable.rb, line 96
def without(*elements)
reject { |element| elements.include?(element) }
end