ruby-changes:12389
From: yugui <ko1@a...>
Date: Mon, 13 Jul 2009 20:40:32 +0900 (JST)
Subject: [ruby-changes:12389] Ruby:r24088 (trunk): * lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI.
yugui 2009-07-13 20:39:05 +0900 (Mon, 13 Jul 2009) New Revision: 24088 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24088 Log: * lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI. #1694 Modified files: trunk/lib/tempfile.rb Index: lib/tempfile.rb =================================================================== --- lib/tempfile.rb (revision 24087) +++ lib/tempfile.rb (revision 24088) @@ -190,7 +190,7 @@ # # If a block is given, it will be passed tempfile as an argument, # and the tempfile will automatically be closed when the block - # terminates. In this case, open() returns nil. + # terminates. The call returns the value of the block. def open(*args) tempfile = new(*args) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/