From c00990869f7104f5016ec4b35bfebfd27626b2e5 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 23 Jul 2024 14:25:15 -0400 Subject: [PATCH] [DOC] Fix code formatting for Tempfile.create --- lib/tempfile.rb | 10 +++++----- 1 file 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. +# - 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. # -# In the first case (+anonymous=false+ without a block), +# In the first case (anonymous=false without a block), # the file is not removed automatically. # It should be explicitly closed. # It can be used to rename to the desired filename.