Module Enumerable
In: set.rb

Methods

to_set  

Public Instance methods

Makes a set from the enumerable object with given arguments. Needs to +require "set"+ to use this method.

[Source]

# File set.rb, line 523
  def to_set(klass = Set, *args, &block)
    klass.new(self, *args, &block)
  end

[Validate]