summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tempfile.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 80a356b603..5489ac044f 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -317,7 +317,8 @@ end
# the temporary file is removed after the block terminates.
# The call returns the value of the block.
#
-# In any case, all arguments (<code>**options</code>) will be treated as Tempfile.new.
+# In any case, all arguments (+basename+, +tmpdir+, +mode+, and
+# <code>**options</code>) will be treated as Tempfile.new.
#
# Tempfile.create('foo', '/home/temp') do |f|
# ... do something with f ...