Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Tempfile#close!
close!
lib/tempfile.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/tempfile.rb, line 215
def close!
close(true)
end
Closes and unlinks (deletes) the file. Has the same effect as called close(true).