method
close
v1_8_7_330 -
Show latest stable
- Class:
Tempfile
close(unlink_now=false)public
Closes the file. If the optional flag is true, unlinks the file after closing.
If you don’t explicitly unlink the temporary file, the removal will be delayed until the object is finalized.