diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-20 12:27:53 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-01-20 12:27:53 +0000 |
commit | cdb561282ab2e21854bad602331bfd000af91c14 (patch) | |
tree | 74920bcfcfb55c91c4be4d48b00e702a5c65aaf3 /eval.c | |
parent | 6027eb1ed511b818023d7759737ddb6972e923ac (diff) | |
download | ruby-cdb561282ab2e21854bad602331bfd000af91c14.tar.gz ruby-cdb561282ab2e21854bad602331bfd000af91c14.tar.xz ruby-cdb561282ab2e21854bad602331bfd000af91c14.zip |
* lib/tempfile.rb (self.open): If a block is given, call it with
tempfile as an argument and automatically close the tempfile
when the block terminates.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
0 files changed, 0 insertions, 0 deletions