diff options
author | Peter Zhu <[email protected]> | 2024-07-23 14:25:15 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-07-23 14:25:15 -0400 |
commit | c00990869f7104f5016ec4b35bfebfd27626b2e5 (patch) | |
tree | 95cb0cff064c2320d1d10a69dd04f71dc18af5dd /lib/tempfile.rb | |
parent | b6800515e8c6af992183045ba89147e90eab3c55 (diff) |
[DOC] Fix code formatting for Tempfile.create
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index bddef3bf22..9107b7d016 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -524,12 +524,12 @@ end # # The keyword argument +anonymous+ specifies when the file is removed. # -# - +anonymous=false+ (default) without a block: the file is not removed. -# - +anonymous=false+ (default) with a block: the file is removed after the block exits. -# - +anonymous=true+ without a block: the file is removed before returning. -# - +anonymous=true+ with a block: the file is removed before the block is called. +# - <tt>anonymous=false</tt> (default) without a block: the file is not removed. +# - <tt>anonymous=false</tt> (default) with a block: the file is removed after the block exits. +# - <tt>anonymous=true</tt> without a block: the file is removed before returning. +# - <tt>anonymous=true</tt> with a block: the file is removed before the block is called. # -# In the first case (+anonymous=false+ without a block), +# In the first case (<tt>anonymous=false</tt> without a block), # the file is not removed automatically. # It should be explicitly closed. # It can be used to rename to the desired filename. |