examples/test.rb in tmp-2.2.1 vs examples/test.rb in tmp-2.2.2
- old
+ new
@@ -1,3 +1,6 @@
require 'tmp'
+require 'securerandom'
-
+tmp= TMP.new File.join TMP.tmpdir,SecureRandom.uuid
+$stdout.reopen tmp.test__path__
+puts "hello world"
- old
+ new