Method: LostInTranslation.reset_tmp_files
- Defined in:
- lib/lit/file_functions.rb
.reset_tmp_files ⇒ Object
33 34 35 36 37 38 |
# File 'lib/lit/file_functions.rb', line 33 def self.reset_tmp_files paths = tmp_paths paths.each_value do |path| File.open(path, 'w') { |file| file.write('') } end end |