Method: File.delete_file
- Defined in:
- lib/helpers/file_extension.rb
.delete_file(path: string) ⇒ Object
15 16 17 18 19 |
# File 'lib/helpers/file_extension.rb', line 15 def self.delete_file(path: string) return unless exist?(path) delete(path) end |