Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • set.rb

Methods

Class/Module Index [+]

Quicksearch
No matching classes.

Enumerable

Public Instance Methods

to_set(klass = Set, *args, &block) click to toggle source

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

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

AltStyle によって変換されたページ (->オリジナル) /