Flowdock
method

select!

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Array
select!() public

Invokes the block passing in successive elements from self, deleting elements for which the block returns a false value. It returns self if changes were made, otherwise it returns nil. See also Array#keep_if

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

Show source
Register or log in to add new notes.