Sha256: 14549ab901c69d86aa25f600d5e4f4ce16256647eaf70af801aac7896c740504
Contents?: true
Size: 202 Bytes
Versions: 11
Compression:
Stored size: 202 Bytes
Contents
require "fileutils" require "tmpdir" require_relative "temp_dir" class TempDir attr_reader :path def initialize @path = Dir.mktmpdir at_exit { FileUtils.remove_entry(@path) } end end
Version data entries
11 entries across 11 versions & 1 rubygems