diff options
author | Sven Schwyn <[email protected]> | 2023-02-22 11:37:32 +0100 |
---|---|---|
committer | git <[email protected]> | 2023-02-27 02:29:06 +0000 |
commit | cc8329e8bc487aad825ba1e7948a714d77c2c6ac (patch) | |
tree | d146763fc5442eb741baa493905a0d395b3274ee /lib/tempfile.rb | |
parent | b6704201a3ef6a7f07da8d4ca82499710a3eea10 (diff) |
[ruby/tempfile] Fix inconsistency in doc of Tempfile.create
https://github.com/ruby/tempfile/commit/3f96b2ed29
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index c3263ed3c6..1bb13e9501 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -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 # |