method
open
v1_9_1_378 -
Show latest stable
- Class:
Tempfile
open(*args)public
If no block is given, this is a synonym for new().
If a block is given, it will be passed tempfile as an argument, and the tempfile will automatically be closed when the block terminates. The call returns the value of the block.