method

collect!

v2_4_6 - Show latest stable - Class: Set
collect!()
public

Replaces the elements with ones returned by collect(). Returns an enumerator if no block is given.