README.md in tmp-2.2.0 vs README.md in tmp-2.2.1
- old
+ new
@@ -62,10 +62,14 @@
### Get file path for the tmp object
```ruby
+ require 'tmp'
+ puts __TMP__.random #> nil or empty string because never used or just freshly initialized file
+ puts __TMP__.random__path__ #> path to random named file,
+ # if not exist, make an empty one
```
### Remove tmp objects