summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-27 14:11:50 +0900
committergit <svn-admin@ruby-lang.org>2022-07-27 21:05:10 +0900
commit64c8291c7e7b6c5e1357c48ab4edb0f434ef1739 (patch)
treeabc2e6fecda65e590fc69f393a1c48bd931c231f /ext/pathname
parentf42230ff2210647d480d02a381065359be993015 (diff)
[ruby/pathname] Fix `autoload` of `FileUtils`
Should not be `Pathname::FileUtils`. https://github.com/ruby/pathname/commit/d1eb366e73
Diffstat (limited to 'ext/pathname')
-rw-r--r--ext/pathname/lib/pathname.rb4
1 files 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.
#