method
to_set

Ruby latest stable (v2_5_5)
-
0 notes -
Class: Enumerable
to_set(klass = Set, *args, &block)
public
Makes a set from the enumerable object with given arguments. Needs to +require “set”+ to use this method.