method

to_set

v1_9_2_180 - Show latest stable - 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.