[DOC] Allow linking to File#path in Tempfile.create

This commit is contained in:
Peter Zhu 2024-07-23 14:26:34 -04:00
parent c00990869f
commit 47c0df9c4a

View File

@ -535,7 +535,7 @@ end
# It can be used to rename to the desired filename. # It can be used to rename to the desired filename.
# If the file is not needed, it should be explicitly removed. # If the file is not needed, it should be explicitly removed.
# #
# The +File#path+ method of the created file object returns the temporary directory with a trailing slash # The File#path method of the created file object returns the temporary directory with a trailing slash
# when +anonymous+ is true. # when +anonymous+ is true.
# #
# When a block is given, it creates the file as described above, passes it to the block, # When a block is given, it creates the file as described above, passes it to the block,