public Method

FileUtils.remove_dir(path, force = false)

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

Source Code

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

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.