summaryrefslogtreecommitdiff
path: root/prelude.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-08 12:00:13 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-08 12:00:14 -0800
commitcc54e1cf48a232b19e2a69302403bdaa4433cb7a (patch)
tree7bbe1ded5ba69d2e7f175b47c393860b968f71e2 /prelude.rb
parent2f19c5b7e080f75c3373c5b1671b4d4cfab6d334 (diff)
downloadruby-cc54e1cf48a232b19e2a69302403bdaa4433cb7a.tar.gz
Fix ruby_testoptions on RubyCI
http://rubyci.s3.amazonaws.com/osx1200arm-no-yjit/ruby-master/log/20230308T185004Z.fail.html.gz
Diffstat (limited to 'prelude.rb')
-rw-r--r--prelude.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/prelude.rb b/prelude.rb
index 8fd6e6cb77..ee78b44cc5 100644
--- a/prelude.rb
+++ b/prelude.rb
@@ -27,5 +27,5 @@ module Enumerable
# Makes a set from the enumerable object with given arguments.
def to_set(klass = Set, *args, &block)
klass.new(self, *args, &block)
- end
+ end unless instance_methods.include?(:to_set) # RJIT could already load this from builtin prelude
end