8 # suppress redefinition warning
9 alias irb irb # :nodoc:
18 # suppress redefinition warning
27 # Makes a set from the enumerable object with given arguments.
28 def to_set(klass = Set, *args, &block)
29 klass.new(self, *args, &block)
30 end unless instance_methods.include?(:to_set) # RJIT could already load this from builtin prelude