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.

Show source
Register or log in to add new notes.