[ruby/tempfile] Fix inconsistency in doc of Tempfile.create

https://github.com/ruby/tempfile/commit/3f96b2ed29
This commit is contained in:
Sven Schwyn 2023-02-22 11:37:32 +01:00 коммит произвёл git
Родитель b6704201a3
Коммит cc8329e8bc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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
#