public Method

FileUtils.remove_file(path, force = false)

Removes a file path. This method ignores StandardError if force is true.

Source Code

# File fileutils.rb, line 770
def remove_file(path, force = false)
  Entry_.new(path).remove_file
rescue
  raise unless force
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.