method

flatten

ruby latest stable - Class: Set
flatten()
public

Returns a new set that is a copy of the set, flattening each containing set recursively.