Sha256: b296345a9cdc876903c514a07e579a0cc63e5661ebfb947e7c97ccca788606c3
Contents?: true
Size: 247 Bytes
Versions: 33
Compression:
Stored size: 247 Bytes
Contents
require 'tmpdir' require 'fileutils' unless Dir.const_defined?(:Tmpname) class Dir class Tmpname def self.make_tmpname(x, y) n = ::Dir.mktmpdir(x + y) FileUtils.rm_rf(n) n.sub(::Dir.tmpdir, '') end end end end
Version data entries
33 entries across 33 versions & 1 rubygems