Method: FileUtils::TmpFile.counter
- Defined in:
- lib/vex/base/filesystem/tmp_file.rb
.counter ⇒ Object
2 3 4 5 |
# File 'lib/vex/base/filesystem/tmp_file.rb', line 2 def self.counter Thread.current["tmpfiles"] ||= 0 Thread.current["tmpfiles"] += 1 end |