summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-15 11:57:41 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-15 11:57:41 +0000
commitea610ae04642f8a62eea5c3d4c31a6a956c77fce (patch)
treedf441d40e158ea98c54ec48dce940fe091f54062 /lib
parentd6ff3cfb18c63c16feaac084390711c8b62695c1 (diff)
merges r24088 from trunk into ruby_1_9_1.
-- * lib/tempfile (Tempfile.open): rdoc. patch by Nobuhiro IMAI. #1694 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/tempfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 3319d4f886..d4d2112d3c 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)