Method: Bcpm::Match.tempfile
- Defined in:
- lib/bcpm/match.rb
.tempfile ⇒ Object
Temporary file name.
270 271 272 |
# File 'lib/bcpm/match.rb', line 270 def self.tempfile "#{Socket.hostname}_#{'%x' % (Time.now.to_f * 1000).to_i}_#{$PID}_#{'%x' % Thread.current.object_id}" end |