End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Tempfile#close!
close!
lib/tempfile.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/tempfile.rb, line 175
def close!
close(true)
end
Closes and unlinks (deletes) the file. Has the same effect as called close(true).