Not found

The exact documentation you were looking for could not be found. Here is the best guess.

reject!() public

Equivalent to Array#delete_if, deleting elements from self for which the block evaluates to true, but returns nil if no changes were made. The array is changed instantly every time the block is called and not after the iteration is over. See also Enumerable#reject and Array#delete_if.

If no block is given, an enumerator is returned instead.

Show source
Register or log in to add new notes.