From 64c8291c7e7b6c5e1357c48ab4edb0f434ef1739 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 27 Jul 2022 14:11:50 +0900 Subject: [PATCH] [ruby/pathname] Fix `autoload` of `FileUtils` Should not be `Pathname::FileUtils`. https://github.com/ruby/pathname/commit/d1eb366e73 --- ext/pathname/lib/pathname.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pathname/lib/pathname.rb b/ext/pathname/lib/pathname.rb index 41e5c171a7..9a297529ca 100644 --- a/ext/pathname/lib/pathname.rb +++ b/ext/pathname/lib/pathname.rb @@ -574,9 +574,9 @@ class Pathname # * Find * end -class Pathname # * FileUtils * - autoload(:FileUtils, 'fileutils') +autoload(:FileUtils, 'fileutils') +class Pathname # * FileUtils * # Creates a full path, including any intermediate directories that don't yet # exist. #