diff options
| author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 11:39:05 +0000 |
|---|---|---|
| committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-13 11:39:05 +0000 |
| commit | a540ddb53a1a5312d37342e1fe8633644c9c6456 (patch) | |
| tree | 326af10c35fdfd62996ded123e901b9f80f9c4be /lib | |
| parent | fc41582c3982ee39a81d4206daf1f4423832952e (diff) | |
| download | ruby-a540ddb53a1a5312d37342e1fe8633644c9c6456.tar.gz ruby-a540ddb53a1a5312d37342e1fe8633644c9c6456.tar.xz ruby-a540ddb53a1a5312d37342e1fe8633644c9c6456.zip | |
* lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI.
#1694
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 46803b20f..a00208cd7 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -190,7 +190,7 @@ class Tempfile < DelegateClass(File) # # 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) |
