From 9ec0e7b2c4230a012e894e72589364d2aeb59529 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Oct 2017 12:40:00 +0000 Subject: tempfile.rb: [DOC] all arguments [ci skip] * lib/tempfile.rb (Tempfile.create): mention the other arguments too. [ruby-core:83321] [Misc #14019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tempfile.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 (**options) will be treated as Tempfile.new. +# In any case, all arguments (+basename+, +tmpdir+, +mode+, and +# **options) will be treated as Tempfile.new. # # Tempfile.create('foo', '/home/temp') do |f| # ... do something with f ... -- cgit v1.2.3