Ruby | Array select!() function
Array#select!() : select!() is a Array class method which returns the given block passing in successive elements from self, deleting elements for which the block returns a false value. Syntax: Array.select!() Parameter: Array Return: the given block passing in successive elements from self, deleting