Class: File
- Inherits:
-
Object
- Object
- File
- Defined in:
- lib/file.rb
Class Method Summary collapse
Class Method Details
.remove(path) ⇒ Object
5 6 7 |
# File 'lib/file.rb', line 5 def self.remove(path) FileUtils.rm(path) if File.exist?(path) end |