Skip to content

Commit ae1db57

Browse files
committed
Revert "Remove early return for Ruby 4.1+ until ruby/ruby#16358 is merged"
This reverts commit 4338633.
1 parent 31d07ee commit ae1db57

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/pathname.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# For documentation, see class Pathname.
1111
#
1212

13+
return if RUBY_VERSION >= '4.1'
14+
1315
unless RUBY_VERSION >= '4'
1416
require 'pathname.so' if RUBY_ENGINE == 'ruby'
1517

0 commit comments

Comments
 (0)