method

delete_if

ruby latest stable - Class: CSV::Row
delete_if(&block)
public

The provided block is passed a header and field for each pair in the row and expected to return true or false, depending on whether the pair should be deleted.

This method returns the row for chaining.

If no block is given, an Enumerator is returned.