diff options
author | Peter Zhu <[email protected]> | 2024-07-23 14:26:34 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-07-23 14:26:34 -0400 |
commit | 47c0df9c4ab2ff6a437ef462eae5ca1eb77fffab (patch) | |
tree | a1dca061cb5bc96abe72323cf5eaebe31512da0c /lib | |
parent | c00990869f7104f5016ec4b35bfebfd27626b2e5 (diff) |
[DOC] Allow linking to File#path in Tempfile.create
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 9107b7d016..51c105d591 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -535,7 +535,7 @@ end # It can be used to rename to the desired filename. # 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 a block is given, it creates the file as described above, passes it to the block, |