ruby-changes:48089
From: nobu <ko1@a...>
Date: Tue, 17 Oct 2017 21:40:05 +0900 (JST)
Subject: [ruby-changes:48089] nobu:r60203 (trunk): tempfile.rb: [DOC] all arguments [ci skip]
nobu 2017-10-17 21:40:00 +0900 (Tue, 17 Oct 2017) New Revision: 60203 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60203 Log: tempfile.rb: [DOC] all arguments [ci skip] * lib/tempfile.rb (Tempfile.create): mention the other arguments too. [ruby-core:83321] [Misc #14019] Modified files: trunk/lib/tempfile.rb Index: lib/tempfile.rb =================================================================== --- lib/tempfile.rb (revision 60202) +++ lib/tempfile.rb (revision 60203) @@ -317,7 +317,8 @@ end https://github.com/ruby/ruby/blob/trunk/lib/tempfile.rb#L317 # 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 ... -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/