APIdock / Ruby
/
method

remove_file

ruby latest stable - Class: FileUtils
remove_file(path, force = false)
private

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

# File lib/fileutils.rb, line 705
 def remove_file(path, force = false)
 Entry_.new(path).remove_file
 rescue
 raise unless force
 end

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