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