Flowdock
method

without

Importance_1
v5.1.7 - Show latest stable - 0 notes - 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}
Show source
Register or log in to add new notes.