# File lib/lockfile-1.4.3.rb, line 484 def tmpnam dir, seed = File::basename($0) #--{{{ pid = Process.pid time = Time.now sec = time.to_i usec = time.usec "%s%s.%s_%d_%s_%d_%d_%d.lck" % [dir, File::SEPARATOR, HOSTNAME, pid, seed, sec, usec, rand(sec)] #--}}} end