We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbdf409 commit 6a11a71Copy full SHA for 6a11a71
lib/concurrent/utility/engine.rb
@@ -8,7 +8,7 @@ def on_jruby?
8
end
9
10
def on_jruby_9000?
11
- on_jruby? && 0 == (JRUBY_VERSION =~ /^9\.0\.0\.0/)
+ on_jruby? && ruby_version(:>=, 9, 0, 0, JRUBY_VERSION)
12
13
14
def on_cruby?
0 commit comments