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

Version Path
iron_worker_ng-1.6.10 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.9 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.8 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.7 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.6 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.5 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.4 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.3 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.2 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.6.1 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.5.2 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.5.1 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.5.0 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.4.2 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.4.1 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.4.0 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.3.0 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.2.0 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.1.0 lib/iron_worker_ng/compat.rb
iron_worker_ng-1.0.4 lib/iron_worker_ng/compat.rb