Skip to content

Commit

Permalink
Fix autoload of FileUtils
Browse files Browse the repository at this point in the history
Should not be `Pathname::FileUtils`.
  • Loading branch information
nobu committed Jul 27, 2022
1 parent cd0d25a commit d1eb366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pathname.rb
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,9 @@ def find(ignore_error: true) # :yield: pathname
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.
#
Expand Down

0 comments on commit d1eb366

Please sign in to comment.