examples/test.rb in tmp-1.0.1 vs examples/test.rb in tmp-1.1.0
- old
+ new
@@ -10,5 +10,9 @@
puts tmp.hello #> { hello: 'world'}
# undefined variable
puts tmp.sup #> nil
+TMP.purge!
+
+# call after tmp is purged
+puts tmp.hello #> nil
\ No newline at end of file