ruby-changes:48079
From: nobu <ko1@a...>
Date: Tue, 17 Oct 2017 08:11:46 +0900 (JST)
Subject: [ruby-changes:48079] nobu:r60193 (trunk): Layout fixes in rdoc of lib/tempfile.rb [ci skip]
nobu 2017-10-17 08:11:40 +0900 (Tue, 17 Oct 2017) New Revision: 60193 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60193 Log: Layout fixes in rdoc of lib/tempfile.rb [ci skip] RDoc doesn't understand an asterisk inside the plus markers. Moving them out of the markers looks better. [Fix GH-1716] From: Herwin Weststrate <herwinw@h...> Modified files: trunk/lib/tempfile.rb Index: lib/tempfile.rb =================================================================== --- lib/tempfile.rb (revision 60192) +++ lib/tempfile.rb (revision 60193) @@ -274,7 +274,7 @@ class Tempfile < DelegateClass(File) https://github.com/ruby/ruby/blob/trunk/lib/tempfile.rb#L274 # object will be automatically closed after the block terminates. # The call returns the value of the block. # - # In any case, all arguments (+*args+) will be passed to Tempfile.new. + # In any case, all arguments (<code>*args</code>) will be passed to Tempfile.new. # # Tempfile.open('foo', '/home/temp') do |f| # ... do something with f ... @@ -317,7 +317,7 @@ 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 (+*args+) will be treated as Tempfile.new. +# In any case, all arguments (<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/