ruby-changes:72708
From: Nobuyoshi <ko1@a...>
Date: Wed, 27 Jul 2022 21:05:24 +0900 (JST)
Subject: [ruby-changes:72708] 64c8291c7e (master): [ruby/pathname] Fix `autoload` of `FileUtils`
https://git.ruby-lang.org/ruby.git/commit/?id=64c8291c7e From 64c8291c7e7b6c5e1357c48ab4edb0f434ef1739 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 27 Jul 2022 14:11:50 +0900 Subject: [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 * https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L574 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. # -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/