method

to_set

v1_8_6_287 - 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.