class Object

Public Instance Methods

workdir(*paths) click to toggle source
# File bin/pdfdiff, line 7
def workdir(*paths)
  unless @workdir
    @workdir = "/tmp/#{SecureRandom.uuid}"
    @workdir = "/tmp/#{SecureRandom.uuid}" while File.exists?(@workdir)
  end

  File.join(@workdir, *paths)
end