mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
parent
b6704201a3
commit
cc8329e8bc
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ require 'tmpdir'
|
|||
# Note that Tempfile.create returns a File instance instead of a Tempfile, which
|
||||
# also avoids the overhead and complications of delegation.
|
||||
#
|
||||
# Tempfile.open('foo') do |file|
|
||||
# Tempfile.create('foo') do |file|
|
||||
# # ...do something with file...
|
||||
# end
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue