APIdock / Ruby
/
method

remove_dir

ruby latest stable - Class: FileUtils
remove_dir(path, force = false)
public

Removes a directory dir and its contents recursively. This method ignores StandardError if force is true.

# File lib/fileutils.rb, line 716
 def remove_dir(path, force = false)
 remove_entry path, force # FIXME?? check if it is a directory
 end

AltStyle によって変換されたページ (->オリジナル) /