method

without

v5.0.0.1 - Show latest stable - Class: Enumerable
without(*elements)
public

Returns a copy of the enumerable without the specified elements.

["David", "Rafael", "Aaron", "Todd"].without "Aaron", "Todd"
  => ["David", "Rafael"]

{foo: 1, bar: 2, baz: 3}.without :bar
  => {foo: 1, baz: 3}