mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI.
#1694 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4fbc270cd5
commit
b3b6698e2f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue