Module: Enumerable

Included in:
Buffer::Array, Native::Array, Set
Defined in:
opal/stdlib/set.rb

Instance Method Summary collapse

Instance Method Details

#to_set(klass = Set, *args, &block) ⇒ Object



86
87
88
# File 'opal/stdlib/set.rb', line 86

def to_set(klass = Set, *args, &block)
  klass.new(self, *args, &block)
end