End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
FileUtils#remove_dir
remove_dir(path, force = false)
lib/fileutils.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/fileutils.rb, line 808
def remove_dir(path, force = false)
remove_entry path, force # FIXME?? check if it is a directory
end
Removes a directory dir and its contents recursively. This method ignores StandardError if force is true.